From b4c0030baa046f48d85c24a0669a8186ab19644d Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 14 May 2024 23:20:26 +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 a9b0b872c..26e9e663e 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -3106,7 +3106,7 @@ def doFullSyncUser(version=''): # --force --opt --single-transaction if not os.path.exists(bak_file): # 不锁表导出 - dump_sql_data = getServerDir() + "/bin/mysqldump " + dmp_option + " --single-transaction --skip-opt --create-options --default-character-set=utf8 -h" + ip + " -P" + \ + dump_sql_data = getServerDir() + "/bin/mysqldump " + dmp_option + " --single-transaction -q --skip-opt --create-options --default-character-set=utf8 -h" + ip + " -P" + \ port + " -u" + user + " -p'" + apass + "' --ssl-mode=DISABLED " + sync_db + " > " + bak_file print(dump_sql_data) mw.execShell(dump_sql_data)