slave stop执行报错

2016-11-26  本文已影响108人  摸不去的尘
mysql> select version();
+-----------+
| version() |
+-----------+
| 5.6.32    |
+-----------+
1 row in set (0.00 sec)

mysql> slave stop;
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
mysql> stop slave;
Query OK, 0 rows affected, 1 warning (0.00 sec)

在mysql-5.6版本的slave stop改为stop slave,而mysql-5.1版本的slave stop可以使用。


上一篇 下一篇

猜你喜欢

热点阅读