mirror of
https://github.com/midoks/mdserver-web
synced 2026-11-04 19:16:00 +08:00
update
This commit is contained in:
@@ -2378,10 +2378,10 @@ def getMasterRepSlaveUserCmd(version):
|
|||||||
base_sql = "CHANGE MASTER " + connection_name + "TO MASTER_HOST='" + ip + "', MASTER_PORT=" + port + ", MASTER_USER='" + \
|
base_sql = "CHANGE MASTER " + connection_name + "TO MASTER_HOST='" + ip + "', MASTER_PORT=" + port + ", MASTER_USER='" + \
|
||||||
clist[0]['username'] + "', MASTER_PASSWORD='" + \
|
clist[0]['username'] + "', MASTER_PASSWORD='" + \
|
||||||
clist[0]['password'];
|
clist[0]['password'];
|
||||||
sql = '<span>经典模式</span><hr/>'
|
sql = '<span class="set-info c7 ta_center">经典模式</span><hr style="margin-top: 5px;margin-bottom: 10px;"/>'
|
||||||
sql += base_sql + "', MASTER_LOG_FILE='" + mstatus[0]["File"] + \
|
sql += base_sql + "', MASTER_LOG_FILE='" + mstatus[0]["File"] + \
|
||||||
"',MASTER_LOG_POS=" + str(mstatus[0]["Position"])
|
"',MASTER_LOG_POS=" + str(mstatus[0]["Position"])
|
||||||
sql += "<br/><hr/><span>GTID模式</span><hr/>";
|
sql = '<br/><span class="set-info c7 ta_center">GTID模式</span><hr style="margin-top: 5px;margin-bottom: 10px;"/>'
|
||||||
sql += base_sql + "',MASTER_USE_GTID=slave_pos,MASTER_CONNECT_RETRY=10;";
|
sql += base_sql + "',MASTER_USE_GTID=slave_pos,MASTER_CONNECT_RETRY=10;";
|
||||||
sql += "<br/>";
|
sql += "<br/>";
|
||||||
|
|
||||||
|
|||||||
@@ -300,6 +300,12 @@ html {
|
|||||||
vertical-align: 0
|
vertical-align: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ta_center{
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
.ico-font-ask {
|
.ico-font-ask {
|
||||||
border: 1px solid #999;
|
border: 1px solid #999;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|||||||
Reference in New Issue
Block a user