Comments - SHOW LOCALES

1 week, 5 days ago Jindrich Pachta

The query SHOW LOCALES fails when Locales plugin is not installed as shown bellow:

MariaDB [(none)]> SHOW LOCALES;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your 
MariaDB server version for the right syntax to use near 'LOCALES' at line 1
 
1 week, 5 days ago Jindrich Pachta

And of course one may list all installed plugins using query SHOW PLUGINS query to see if the Locales plugin is missing/installed.

MariaDB [(none)]> SHOW PLUGINS;
+-------------------------------+----------+--------------------+-------------+---------+
| Name                          | Status   | Type               | Library     | License |
+-------------------------------+----------+--------------------+-------------+---------+
| binlog                        | ACTIVE   | STORAGE ENGINE     | NULL        | GPL     |
| mysql_native_password         | ACTIVE   | AUTHENTICATION     | NULL        | GPL     |
| mysql_old_password            | ACTIVE   | AUTHENTICATION     | NULL        | GPL     |
| CSV                           | ACTIVE   | STORAGE ENGINE     | NULL        | GPL     |
| MEMORY                        | ACTIVE   | STORAGE ENGINE     | NULL        | GPL     |
...
 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.