Problem description, when landing mariadb today, found that any SQL statement can not be executed, reported the following error
MariaDB [(None)]> show databases;ignoring query to all DATABASEMARIADB [(none)]> show tables;ignoring query to Oth Er databasemariadb [(none)]> Select Database (); Ignoring query to other database
Toss for a long time only to find that the original is landing mariadb when the wrong one letter is as follows
[Email protected] opt]# Mysql-rroot-p123456welcome to the MariaDB Monitor. Commands End With; or \g.your MariaDB connection ID is 10Server version:5.5.52-mariadb MariaDB servercopyright (c) +, Oracle, Maria DB Corporation Ab and others. Type ' help ', ' or ' \h ' for help. Type ' \c ' to clear the current input statement. MariaDB [(None)]> show databases;ignoring query to all DATABASEMARIADB [(none)]> show tables;ignoring query to Oth Er databasemariadb [(none)]> Select Database (); Ignoring query to other database
Mistakenly "U" knocked into the "-R", the comrades to knock command must be careful Ah, otherwise are tears AH.
This article is from the "Galloping Camel" blog, make sure to keep this source http://wn2100.blog.51cto.com/9915310/1963525
MARIADB report ignoring query to other database solution