Update index.py

This commit is contained in:
Mr Chen 2024-07-14 15:24:40 +08:00
parent 52bb6099d7
commit de1e1401b9
1 changed files with 1 additions and 1 deletions

View File

@ -2144,7 +2144,7 @@ def getMasterRepSlaveUserCmd(version):
sql += base_sql + "', MASTER_LOG_FILE='" + mstatus[0]["File"] + \
"',MASTER_LOG_POS=" + str(mstatus[0]["Position"])
sql += "<br/><hr/>";
sql += base_sql + "',MASTER_USE_GTID=no,MASTER_CONNECT_RETRY=10;";
sql += base_sql + "',MASTER_USE_GTID=slave_pos,MASTER_CONNECT_RETRY=10;";
sql += "<br/>";
data = {}