Update index.py

This commit is contained in:
Mr Chen
2024-05-14 23:21:44 +08:00
parent 89052225f9
commit 8a1b64a524
+1 -1
View File
@@ -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 -q -R --skip-opt --create-options --default-character-set=utf8 -h" + ip + " -P" + \
dump_sql_data = getServerDir() + "/bin/mysqldump " + dmp_option + " --single-transaction -q -R --skip-opt --create-options --default-character-set=utf8mb4 -h" + ip + " -P" + \
port + " -u" + user + " -p'" + apass + "' --ssl-mode=DISABLED " + sync_db + " > " + bak_file
print(dump_sql_data)
mw.execShell(dump_sql_data)