Backup: Always use TCP connection for MySQL #1034

This commit is contained in:
Michael Mayer
2021-02-16 08:59:57 +01:00
parent 58005012b1
commit 635053346f
2 changed files with 2 additions and 0 deletions

View File

@@ -97,6 +97,7 @@ func backupAction(ctx *cli.Context) error {
case config.MySQL, config.MariaDB:
cmd = exec.Command(
conf.MysqldumpBin(),
"--protocol", "tcp",
"-h", conf.DatabaseHost(),
"-P", conf.DatabasePortString(),
"-u", conf.DatabaseUser(),