docker 使用mysql读写分离

推荐文章
https://www.cnblogs.com/corvus/articles/15076590.html

docker 查看容器IP的方法
推荐文章
https://blog.csdn.net/sebeefe/article/details/123732823

出现Slave_IO_Running: Connecting
报错Last_IO_Errno:2061
推荐文章
https://www.cnblogs.com/ryxiong-blog/p/12516875.html
https://www.cnblogs.com/zgrey/p/15398633.html

出现Slave_SQL_Running:no;
报错Last_IO_Errno:1410
这个原因可以看提示信息,基本就是连接change master配置信息与主服务器对应不上,这个错误差不多是master_log_file='master-bin.000003',master_log_pos=156;
可以查看下show master status;对不对的上

如果出现报错连接权限不足
Access denied for user
推荐链接
https://blog.csdn.net/snowhite91/article/details/102816441

posted @ 2022-06-02 16:30  亚索会代码  阅读(41)  评论(0编辑  收藏  举报