码迷,mamicode.com
首页 > 数据库 > 详细

MySQL出现Ignoring query to other database的问题

时间:2014-08-20 16:30:02      阅读:213      评论:0      收藏:0      [点我收藏+]

标签:mysql

今天使用mysql的时候,输入任意一条命令都会出:

Ignoring query to other database

这条错误信息,很是奇怪。后来才发现是登录数据库时,少了个-u的参数。。

正确的命令是:

mysql -uroot -p
我输入的是:

mysql -root -p

加上-u就可以了

MySQL出现Ignoring query to other database的问题,布布扣,bubuko.com

MySQL出现Ignoring query to other database的问题

标签:mysql

原文地址:http://blog.csdn.net/tuzhutuzhu/article/details/38706143

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!