暂无图片
mysql主从
我来答
分享
Make progress every day
2020-06-22
mysql主从

The slave I/O thread stops because a fatal error is encountered when it try to get the value of SERVER_ID variable from master. Error:

我来答
添加附件
收藏
分享
问题补充
4条回答
默认
最新
www_heql

my.cnf文件中没有配置server_id吗?

暂无图片 评论
暂无图片 有用 0
打赏 0
Make progress every day

设置了,在数据库中也可以看到本机的server id

暂无图片 评论
暂无图片 有用 0
打赏 0
www_heql

https://blog.csdn.net/weixin_39004901/article/details/90019117

暂无图片 评论
暂无图片 有用 0
打赏 0
Make progress every day

我找到原因了,是因为我在配置文件中设置了gbk字符集,然后导致了主从问题,但是业务需求一定要用gbk,您有什么好的建议吗,谢谢

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
Markdown


请输入正文
提交