mysql Ignoring query to other database error exception

phenomenon

After entering mysql, the execution command will return the "Ignoring query to other database" error.

mysql> show databases;
Ignoring query to other database

the reason

Because the mysql -root method is used when logging in

Just remove -root

 

Guess you like

Origin blog.csdn.net/lizz861109/article/details/112396333