在mysql命令行下输入
slave stop; \slave start;
出现
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'slave stop' at line 1
这是语法错误
把slave stop; 改成stop slave;
slave stop; \slave start;
出现
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'slave stop' at line 1
这是语法错误
把slave stop; 改成stop slave;
编辑回复