mysql主从复制
文章平均质量分 62
六月的雨季@
总想赢者必输,不怕输者必赢。
展开
-
MySQL 5.8主从复制架构实现
本章记录在MySQL学习道路上的一个重要架构设计实现。本章采用docker 进行了初始化了两个mysql对应不同端口,进而来实现MySQL中的主从复制架构。附上,本人的docker命令:(-v 是表示挂在,将mysql对应文件夹挂在到当前服务器的对应文件夹下)docker run --name mysql3307 -p 3307:3306 --privileged=true -ti -e MYSQL_ROOT_PASSWORD=123456 -e MYSQL_DATABASE=enjoy .原创 2021-06-23 10:42:15 · 330 阅读 · 0 评论 -
MySQL主从复制中报错Authentication plugin ‘caching_sha2_password‘ reported error: Authentication
在从库上执行 show slave status\G 命令显示报错:Last_IO_Error: error connecting to master 'repluser@188.131.212.XX:3309' - retry-time: 60 retries: 2 message: Authentication plugin 'caching_sha2_password' reported error: Authentication requires secure connection...原创 2021-06-23 09:47:25 · 2943 阅读 · 0 评论