From 01c9633a1b508afaa33d2bb62a11874e0d06c8b1 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 16 May 2024 20:32:22 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 276f7cdf3..43bfe11bd 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -3354,7 +3354,7 @@ def doFullSyncUser(version=''): else: dmp_option += '' - dump_sql_data = getServerDir() + "/bin/mysqldump --single-transaction --default-character-set=utf8mb4 --compress -q --no-autocommit -e" + dmp_option + " -h" + ip + " -P" + \ + dump_sql_data = getServerDir() + "/bin/mysqldump --single-transaction --default-character-set=utf8mb4 --compress -q" + dmp_option + " -h" + ip + " -P" + \ port + " -u" + user + " -p'" + apass + "' --ssl-mode=DISABLED " + sync_db + " > " + bak_file print(dump_sql_data) time_s = time.time()