I have recently installed MySQL and phpMyAdmin, but when I try to login to phpMyAdmin with the root credentials I get the following error for this query:
SQL query:
SET lc_messages = 'en_US';
MySQL said: Documentation
#1193 - Unknown system variable 'lc_messages'
Why am I experiencing this error?
It isn't true.
PhpMyAdmin
can work with olderMysql
as always.Quick fix is easy
or
Reference https://github.com/phpmyadmin/phpmyadmin/issues/12822
Uninstall your mysql version and all dependencies. To see all your mysql and dependencies packages installeds try this command:
For uninstall:
When all dependencies are uninstalled install the new mysql version:
Start your Service Mysql:
Great! All works perfect now! :)
I found that I had an older version of phpmyadmin and the error was because of a change they had made to PHP 7.
If your running any version of php 5.5 or higher you will get this error unless you update your phpmyadmin.
I faced the same problem. Check your mySQL version:
For mySQL 5.5, use phpMyAdmin 4.4.x and above
For mySQL 5.1, use phpMyAdmin 4.0.x
Hope this helps someone.
I had the same problem and here is how I fixed it:
Upgraded mysql to latest version: http://www.tecmint.com/install-latest-mysql-on-rhel-centos-and-fedora/
After the upgrade mysql service couldn't start. Here's the fix:
mysqld_safe --skip-grant-tables
mysql_upgrade