mysql 主從配置uuid相同錯誤解決,mysql主從配置uuid

來源:互聯網
上載者:User

mysql 主從配置uuid相同錯誤解決,mysql主從配置uuid

    配置mysql主從時,由於是拷貝的mysql目錄,導致主從mysql uuid相同, Slave_IO無法啟動,報錯資訊如下:

The slave I/O thread stops because master and slave have equal MySQL server UUIDs; these UUIDs must be different for replication to work.

    解決辦法:修改mysql data 目錄下auto.cnf 檔案中uuid的值,使兩台mysql不同即可,修改後重啟mysql服務。


相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.