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