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:<
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