slave stop执行报错

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可以使用。


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容