Update index.py

This commit is contained in:
midoks 2023-02-22 21:55:49 +08:00
parent cfb444deac
commit d7e5cf1f45
1 changed files with 1 additions and 1 deletions

View File

@ -904,7 +904,7 @@ def importDbExternal():
os.environ["MYSQL_PWD"] = pwd
mysql_cmd = getServerDir() + '/bin/mysql -S ' + sock + ' -uroot -p\"' + \
pwd + '\" ' + name + ' < ' + import_sql
pwd + '\" -f ' + name + ' < ' + import_sql
# print(mysql_cmd)
rdata = mw.execShell(mysql_cmd)