在搭建主从数据库的时候出现了报错
出现错误的截图:
在这里插入图片描述
解决办法:
重新授权

grant replication slave on *.* to 'user'@'mysql2' identified by 'root';
Logo

更多推荐