深入MySQL--MySQL常见异常分析及处理方案1
1.Ignoring query to other database【报错原因】
登陆数据库缺少参数
# mysql -root -p
【解决方法】
补全的参数,整句话意思是使用root用户去登陆密码为000000
# mysql -uroot -p000000
【错误示例】
# mysql -root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 21
Server version: 5.5.48-log Source distribution
Copyright (c) 2000, 2016, 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> Ctrl-C -- exit!
Aborted
**** Hidden Message *****
学习学习 谢谢分享 报错全吗
页:
[1]