點(diǎn)擊上方“IT那活兒”,關(guān)注后了解更多精彩內(nèi)容!!!
主從同步異常
show grants for RDS_sla@%;
GRANT SELECT, REPLICATION SLAVE, REPLICATION CLIENT ON *.*
TO RDS_sla@%;
如何解決呢
mysql> STOP SLAVE;
mysql> SET @@SESSION.GTID_NEXT=04df05bb-8142-11eb-baad-
8465695dd4a1:27983052;
(3) 設(shè)置空事物
mysql> BEGIN; COMMIT;
mysql> SET SESSION GTID_NEXT = AUTOMATIC;
mysql> START SLAVE;
[xxx@xxx]# pt-slave-resetart -S /var/lib/mysql/mysql.sock —error-numbers=1062
[xxx@xxx]# pt-slave-resetart -S /var/lib/mysql/mysql.sock —error-text=”test.t1”
舉個栗子
更多精彩干貨分享
點(diǎn)擊下方名片關(guān)注
IT那活兒
文章版權(quán)歸作者所有,未經(jīng)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。
轉(zhuǎn)載請注明本文地址:http://m.specialneedsforspecialkids.com/yun/129726.html
閱讀 1353·2023-01-11 13:20
閱讀 1699·2023-01-11 13:20
閱讀 1211·2023-01-11 13:20
閱讀 1904·2023-01-11 13:20
閱讀 4161·2023-01-11 13:20
閱讀 2751·2023-01-11 13:20
閱讀 1397·2023-01-11 13:20
閱讀 3664·2023-01-11 13:20