mysql 报错 Ignoring query to other database
2017-02-15 10:42
477 查看
mysql 查询数据库报错
[root@MYSQL-adson /]# mysql -root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 17282036
Server version: 5.6.25-log MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
Ignoring query to other database
也尝试了其他的命令 同样的结果 如下
mysql> show processlist;
Ignoring query to other database
重新对比命令时发现,登陆操作 少输入了 -u 参数 ,重新登陆加上 -u
[root@MYSQL-adson /]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 17282283
Server version: 5.6.25-log MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| gearman |
| mysql |
| performance_schema |
| adson |
+--------------------+
5 rows in set (0.00 sec)
mysql>
[root@MYSQL-adson /]# mysql -root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 17282036
Server version: 5.6.25-log MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
Ignoring query to other database
也尝试了其他的命令 同样的结果 如下
mysql> show processlist;
Ignoring query to other database
重新对比命令时发现,登陆操作 少输入了 -u 参数 ,重新登陆加上 -u
[root@MYSQL-adson /]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 17282283
Server version: 5.6.25-log MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| gearman |
| mysql |
| performance_schema |
| adson |
+--------------------+
5 rows in set (0.00 sec)
mysql>
相关文章推荐
- mysql Ignoring query to other database
- Mysql错误:Ignoring query to other database解决方法
- MySQL遇到一个Ignoring query to other database;的错误
- MySQL报错:Ignoring query to other database的解决办法
- mysql -root -p 导致 query时提示 Ignoring query to other database
- Mysql错误:Ignoring query to other database解决方法
- Mysql错误:Ignoring query to other database解决方法
- Mysql操作数据库异常Ignoring query to other database
- Mysql错误:Ignoring query to other database解决方法
- Mysql错误:Ignoring query to other database解决方法
- 关于登陆mysql任何操作都报Ignoring query to other database的问题
- Mysql错误:Ignoring query to other database解决方法
- MySQL出现Ignoring query to other database的问题
- Mysql错误:Ignoring query to other database解决方法
- MySQL之——Ignoring query to other database
- Ignoring query to other database
- Ignoring query to other database
- Ignoring query to other database
- Ignoring query to other database
- "Ignoring query to other database"的奇怪问题