Mysql--error:no query specified
mysql下抛出No query specified错误:
mysql> show master status\G;
*************************** 1. row ***************************
File: mysql-bin.000003
Position: 215
Binlog_Do_DB:
Binlog_Ignore_DB:
1 row in set (0.00 sec)
ERROR:
No query specified
原因为\G后面多加了分号,如下:
mysql> show master status\G
*************************** 1. row ***************************
File: mysql-bin.000003
Position: 215
Binlog_Do_DB:
Binlog_Ignore_DB:
1 row in set (0.00 sec)
本文出自 “webseven” 博客,请务必保留此出处http://webseven.blog.51cto.com/4388012/1540879