手机看片精品高清国产日韩,色先锋资源综合网,国产哺乳奶水91在线播放,乱伦小说亚洲色图欧洲电影

幫助中心 >  技術知識庫 >  數據庫 >  數據庫管理 >  MySQL數據庫經典錯誤三 Last_IO_Errno: 1593(server-id沖突)

MySQL數據庫經典錯誤三 Last_IO_Errno: 1593(server-id沖突)

2018-11-08 20:14:39 21907

MySQL數據庫經典錯誤三 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)

這個報錯出現之后,就能一目了然看到兩臺機器的 server-id 是一樣的。

在搭建主從復制的過程中,我們要確保兩臺機器的 server-id 是唯一的。這里再強調一下 server-id 的命名規則(服務器 ip 地址的最后一位+本 MySQL 服務的端口號)。

解決方法:在主從兩臺機器上設置不同的 server-id。


提交成功!非常感謝您的反饋,我們會繼續努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務,我們很需要您進一步的反饋信息:

在文檔使用中是否遇到以下問題: