配置主从复制出现的错误,解决了5个小时,百度,各种尝试,都不行
我用的是mysql5.7.22版本,想用5.7.9,但是不知道怎么下载mysql官网找不到老版本
change master to master_host='192.168.1.105',
master_user='dba',
master_password='123456',
master_log_file='mysql-bin.000001',
master_log_pos=154;
这是报的错误
Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.