标签:
刚配置的MySQL主从,在从机上看到
点击(此处)折叠或打开
点击(此处)折叠或打开
mysql> show master status \G;
*************************** 1. row ***************************
File: masters-bin.000003
Position: 2392
Binlog_Do_DB:
Binlog_Ignore_DB:
Executed_Gtid_Set:
1 row in set (0.00 sec)
ERROR:
No query specified
从机上面执行change to 的正确
CHANGE MASTER TO
MASTER_HOST=‘172.17.210.199‘,
MASTER_USER=‘my‘,
MASTER_PASSWORD=‘123456‘,
MASTER_LOG_FILE=‘masters-bin.000003‘,
MASTER_LOG_POS= 2392;
我的问题,就是主机的防火墙没有关闭,犯了一个低级错误!!!!
MySQL 5.6主从Slave_IO_Running:Connecting/error connecting to master *- retry
标签:
原文地址:http://www.cnblogs.com/zjoch/p/5584155.html