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

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

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

2018-11-08 20:14:39 23192

MySQL數(shù)據(jù)庫(kù)經(jīng)典錯(cuò)誤三 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è)報(bào)錯(cuò)出現(xiàn)之后,就能一目了然看到兩臺(tái)機(jī)器的 server-id 是一樣的。

在搭建主從復(fù)制的過(guò)程中,我們要確保兩臺(tái)機(jī)器的 server-id 是唯一的。這里再?gòu)?qiáng)調(diào)一下 server-id 的命名規(guī)則(服務(wù)器 ip 地址的最后一位+本 MySQL 服務(wù)的端口號(hào))。

解決方法:在主從兩臺(tái)機(jī)器上設(shè)置不同的 server-id。


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

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

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

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