Web Hosting, cPanel, Plesk, cPanel Help, Plesk Help, Tutorials, Articles

Web Hosting Articles, Web hosting FAQ’s, Control Panel Help & Updates.

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

November9

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

While accessing PhpMyAdmin you may see the above error. This is due to the missing socket file in the location /tmp.

Here is how to fix it:

The socket path which is specified in the phpMyAdmin configuration file is /tmp/mysql.sock.

$ vi /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
cfg[’Server’][’socket’]         = ‘/tmp/mysql.sock’;

If mysql.sock is missing in /tmp, then create a link to the mysql.sock file in /var/lib/mysql.

$ ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

Login back to PhpMyAdmin and you should no longer see the error.

posted under cPanel

Email will not be published

Website example

Your Comment: