0
点赞
收藏
分享

微信扫一扫

MHA检测主从复制状态的时出现“User repluser does not exist or does not have REPLICATION SLAVE privilege”异常解决

如果出现Mon Apr  3 17:13:14 2023 - [error][/usr/local/share/perl5/MHA/Server.pm, ln393] 192.168.88.68(192.168.88.68:3306): User repluser does not exist or does not have REPLICATION SLAVE privilege! Other slaves can not start replication from this host.

MHA检测主从复制状态的时出现“User repluser does not exist or does not have REPLICATION SLAVE privilege”异常解决_not

这个的意思是说没有repluser这个用户,此时我们去查看68这个数据库

MHA检测主从复制状态的时出现“User repluser does not exist or does not have REPLICATION SLAVE privilege”异常解决_not_02

果真没有

那就添加一下:grant replication slave on *.*  to repluser@"%" identified by "123qqq...A";

然后再次查看。

MHA检测主从复制状态的时出现“User repluser does not exist or does not have REPLICATION SLAVE privilege”异常解决_Server_03

然后就解决了

MHA检测主从复制状态的时出现“User repluser does not exist or does not have REPLICATION SLAVE privilege”异常解决_Server_04

举报

相关推荐

0 条评论