From 160634d3d4fb7315aacbda9208bbc140de2e3841 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 16 May 2024 20:09:21 +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 2987063ac..276f7cdf3 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -3352,7 +3352,7 @@ def doFullSyncUser(version=''): if isSimpleSyncCmd(cmd): dmp_option += " --master-data=1 --apply-slave-statements --include-master-host-port " else: - dmp_option = '' + dmp_option += '' dump_sql_data = getServerDir() + "/bin/mysqldump --single-transaction --default-character-set=utf8mb4 --compress -q --no-autocommit -e" + dmp_option + " -h" + ip + " -P" + \ port + " -u" + user + " -p'" + apass + "' --ssl-mode=DISABLED " + sync_db + " > " + bak_file