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