mysql5.5.27能主从同步到5.7.10吗

mysql5.5.27能主从同步到5.7.10吗,第1张

mysql5.5.27能主从同步到5.7.10吗

server_uuid是5.6的gtid特性引入的一个配置,

把mysql5.7的 rpl_slave.cc文件中get_master_uuid

函数换成5.6对应的函数就可以了。

1、主Windows打开cmd执行ipconfig命令查看主服务器的IPv4的IP地址

2、从Ubuntu打开终端执行ping IP地址

3、哪个地址能ping通就用哪个IP,桥接和NAT切换,直到找到一个能ping通的IP再配置主从

ERROR 1794 (HY000): Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.

https://www.cnblogs.com/DataArt/p/10260970.html

重建:/usr/share/mysql/mysql_system_tables.sql


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/6130131.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-03-15
下一篇 2023-03-15

发表评论

登录后才能评论

评论列表(0条)

保存