When logging in to PHPmyadmin, this #2002 is displayed above the input box - — The server does not respond (or this mysqli_real_connect(): (HY000/2002): ����Ŀ���������� The local server's socket is not set up correctly). Display this below the input box:
Find the config.default.php file in the "phpMyAdmin/libraries" folder
Set $cfg['Servers'][$i]['host'] = 'localhost';
Change to $cfg['Servers'][$i]['host'] = '127.0.0.1';
Try logging in again