借花獻佛MySQL Docs~~
Having problem like this with socket xampp-phpmyadmin on Windows?
#2002 The server is not responding (or the local MySQL server’s socket is not correctly configured)
To fix the #2002 problem, open your config.inc.php with path: \xampp\phpMyAdmin at your XAMPP directory and add the following code:
$cfg['Servers'][$i]['socket'] = '/var/run/mysql/mysql.sock';
or
$cfg['Servers'][$i]['connect_type'] = 'tcp'
after you config just clear your cache or session on your browse to be refresh