Bug现象描述 master为MySQL 5.5.20,slave用MySQL 5.1.49挂起,然后slave执行以下命令:
change master to master_host=’127.0.0.1′, master_user=’backup’,
master_password=’1234′, master_port=3306,
master_log_file=’mysql-bin.000009′, master_log_pos=***;
若master_log_pos指定的位置出错,则master直接崩溃退出。 重现环境搭建 启动数据库(主库)
D:\mysql\mydata12\master-bin\mysqld.exe
–defaults-file=”D:\mysql\mydata12\master-bin\my.ini” 登录数据库(主库)
D:\tnt0326\Src\client\Debug\mysql.exe
–defaults-file=”D:\mysql\mydata12\master-bin\my.ini” –uroot grant
replication slave,replication client on *.* to backup@127.0.0.1
identified by ’1234′; show master status \G 启动数据库(备库) MySQL
5.5.20 … 继续阅读 →