- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業(yè)務(wù)經(jīng)營(yíng)許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯(lián)網(wǎng)協(xié)會(huì )理事單位
- 安全聯(lián)盟認證網(wǎng)站身份V標記
- 域名注冊服務(wù)機構許可:滇D3-20230001
- 代理域名注冊服務(wù)機構:新網(wǎng)數碼
MySQL數據庫經(jīng)典錯誤三 Last_IO_Errno: 1593(server-id沖突)
Last_IO_Errno: 1593(server-id沖突)
Last_IO_Error: Fatal error: The slave I/O thread stops because master and slave have equal MySQL server ids; these ids must be different for replication to work (or the –replicate-same-server-id option must be used on slave but this does not always make sense; please check the manual before using it)
這個(gè)報錯出現之后,就能一目了然看到兩臺機器的 server-id 是一樣的。
在搭建主從復制的過(guò)程中,我們要確保兩臺機器的 server-id 是唯一的。這里再強調一下 server-id 的命名規則(服務(wù)器 ip 地址的最后一位+本 MySQL 服務(wù)的端口號)。
解決方法:在主從兩臺機器上設置不同的 server-id。
售前咨詢(xún)
售后咨詢(xún)
備案咨詢(xún)
二維碼
TOP