Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Replication with MySQL 5.6 as the master and 5.7 as the slave

$
0
0

When trying to do replication with 5.6 as the master and 5.7 as the slave, after source dump.sql I entered this;

mysql> CHANGE MASTER TO MASTER_HOST="<MASTER_HOSTNAME>", MASTER_USER="slave_user", MASTER_PASSWORD="29TexasBUN", MASTER_AUTO_POSITION = 1;

obviously I changed to an actual hostname, I got the following error;

ERROR 1805 (HY000): Column count of mysql.slave_relay_log_info is wrong. Expected 9, found 8. The table is probably corrupted

Is this a problem with using 5.6 as the master and 5.7 as the slave? I have tried the dump several times with the same error. Although is says it's supported here http://dev.mysql.com/doc/refman/5.7/en/replication-compatibility.html


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>