Please connect to MySQL and run
SELECT USER(),CURRENT_USER();
What does this output ???
USER()
reports how you attempted to authenticate in MySQLCURRENT_USER()
reports how you were allowed to authenticate in MySQL
If the output of these two functions do not match, you will need to create a user that matches the USER()
or CURRENT_USER()
.
If they are both root@localhost
, please run
SELECT user,host,password FROM mysql.user;
Now, visible compare if all root users have the same password.
Also, please check the contents of /etc/hosts
on the server.
This not fully an answer, but I hope this helps !!!