命令行操作MySQL数据库的时候,总是报 Ignoring query to other database 错误
(root@localhost:mysql.sock) [(none)]>delete from t_xxxxx;
Ignoring query to other database
原因:命令行登录的时候,没有带参数 -u ,改用 mysql -uroot 即可
命令行操作MySQL数据库的时候,总是报 Ignoring query to other database 错误
(root@localhost:mysql.sock) [(none)]>delete from t_xxxxx;
Ignoring query to other database
原因:命令行登录的时候,没有带参数 -u ,改用 mysql -uroot 即可