diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 8313dc2e7..8b4ce2fc1 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -3331,7 +3331,7 @@ def doFullSyncUser(version=''): # else: # db.query("stop slave") - time.sleep(2) + time.sleep(1) writeDbSyncStatus({'code': 2, 'msg': '远程导出数据...', 'progress': 20}) @@ -3384,7 +3384,7 @@ def doFullSyncUser(version=''): # print(r) r = db.query(cmd) print(r) - + if version == '8.0': db.query("start slave user='{}' password='{}';".format(user, apass)) else: