遇到ERROR 1201 (HY000): Could not initialize master info structure;的解决办法

如果觉得对您有帮助的话,麻烦点个赞、收藏、关注再走!!!在执行类似下面命令行时change master tomaster_host192.168.

如果觉得对您有帮助的话,麻烦点个赞、收藏、关注再走!!!
在执行类似下面命令行时

change master to
  	master_host='192.168.xxx.xxx',
  	master_user='replication_user',
  	master_password='xxx',
  	master_port=3306,
	master_log_file='master2-bin.000001',
	master_log_pos=245,
  	master_connect_retry=10;

抛出错误

ERROR 1201 (HY000): Could not initialize master info structure; more error messages can be found in the MariaDB error log

解决办法

stop slave;
reset slave;

然后再重新执行一下即可!!!解决的话评论一下呗~

发布者:admin,转转请注明出处:http://www.yc00.com/web/1755047597a5232940.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信