mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Backup: Always use TCP connection for MySQL #1034
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user