From cc0cdd62b83bd9a1958ab2bc9b4ede4d249b919f Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 14 May 2024 16:24:33 +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 27f51e426..0d4788e6d 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -3097,7 +3097,7 @@ def doFullSyncUser(version=''): writeDbSyncStatus({'code': 2, 'msg': '远程导出数据...', 'progress': 20}) if not os.path.exists(bak_file): - dump_sql_data = getServerDir() + "/bin/mysqldump " + dmp_option + " --force --opt --default-character-set=utf8 --single-transaction -h" + ip + " -P" + \ + dump_sql_data = getServerDir() + "/bin/mysqldump " + dmp_option + " --skip-opt --create-options --default-character-set=utf8 --single-transaction -h" + ip + " -P" + \ port + " -u" + user + " -p'" + apass + \ "' --ssl-mode=DISABLED " + sync_db + " > " + bak_file print(dump_sql_data)