How to avoid phpmyadmin error #2002 ?

June 12, 2016 1.7k views
MySQL Apache LAMP Stack

I try to access to my phpmyadmin using root username and password written in "/etc/motd.tail" but always get "#2002 Cannot log in to the MySQL server".

What's wrong?
Can anybody help me?

1 comment
  • Hi @56,

    What does your configuration for phpmyadmin look like? Also, when you setup your MySQL service, did you set a root password? MySQL authentication is not linked to system authentication at all.

Be the first one to answer this question.