mirror of
https://github.com/midoks/mdserver-web
synced 2026-11-04 19:16:00 +08:00
Compare commits
3 Commits
7e62ab62f9
...
1a356e516c
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a356e516c | |||
| 15e273aa6f | |||
| f782bacc64 |
@@ -2378,10 +2378,10 @@ def getMasterRepSlaveUserCmd(version):
|
||||
base_sql = "CHANGE MASTER " + connection_name + "TO MASTER_HOST='" + ip + "', MASTER_PORT=" + port + ", MASTER_USER='" + \
|
||||
clist[0]['username'] + "', MASTER_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"] + \
|
||||
"',MASTER_LOG_POS=" + str(mstatus[0]["Position"])
|
||||
sql += "<br/><hr/><span>GTID模式</span><hr/>";
|
||||
sql += '<br/><hr/><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 += "<br/>";
|
||||
|
||||
|
||||
@@ -300,6 +300,12 @@ html {
|
||||
vertical-align: 0
|
||||
}
|
||||
|
||||
.ta_center{
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.ico-font-ask {
|
||||
border: 1px solid #999;
|
||||
border-radius: 8px;
|
||||
|
||||
Reference in New Issue
Block a user