国产欧美日韩第一页|日本一二三不卡视频|在线精品小视频,亚洲第一免费播放区,metcn人体亚洲一区,亚洲精品午夜视频

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

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

2018-11-08 20:14:39 15740

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。


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

這條文檔是否有幫助解決問(wèn)題?

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

在文檔使用中是否遇到以下問(wèn)題:
-->