奥飞火千万电 发表于 2018-10-4 13:38:51

Mysql--error:no query specified

  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)

页: [1]
查看完整版本: Mysql--error:no query specified