Access denied for user 'root'@'localhost'
I am getting this error with adminer.php and phpmyadmin won't work either. I am able to run SQL commands in terminal after typing 'sudo mysql'. I have a user table with root as a username but there is no password field.
If anyone can help me to get this to work it would be great.
Best Answer
This solved my problem - can't login as mysql user root from normal user account in ubuntu 16.04
I'm using Ubuntu 18.04 and so these instructions work for me.