逐梦论坛's Archiver

shillan 发表于 2016-4-24 11:25

ERROR 1210 (HY000): Incorrect arguments to MASTER_HOST的解决方法

[b]现象:[/b]清除MySQL主从信息,运行
CHANGE MASTER TO MASTER_HOST='';
时报错:ERROR 1210 (HY000): Incorrect arguments to MASTER_HOST
[b]解决:[/b]
对于MySQL 5.0和5.1:
运行
STOP SLAVE;
CHANGE MASTER TO MASTER_HOST='';
RESET SLAVE;

对于MySQL 5.5和5.6:
运行
STOP SLAVE;
RESET SLAVE ALL;

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.