#2002 – The server is not responding

#2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured)
Connection for control user as defined in your configuration failed.

Solution :-
It turns out that the solution is to stop all the services and solve the “Another daemon is already running” issue.

The commands i used to solve the issue are as follows:

  • su
  • passwd *******
  • sudo /opt/lampp/lampp stop 
  • sudo /etc/init.d/apache2 stop 
  • sudo /etc/init.d/mysql stop

You can also type instead:

  • sudo service apache2 stop
  • sudo service mysql stop

After that, we start again the lampp services:

  • sudo /opt/lampp/lampp start

http://localhost
http://localhost/phpmyadmin

Now, there must be no problems while opening: 🙂