#2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured)

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

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: 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *