“#2002 Cannot log in to the MySQL server” on login
问题 I am trying to setup drupal on windows 8 with XAMPP but when I try to login to phpmyadmin, I get this error: I've tried so many different things but I can't seem to get it working. Both Apache and MySQL are running fine from the XAMPP Control Panel. 回答1: If you're on a fresh install, config.inc.php file may not exist. You need to rename/copy config.sample.inc.php file then change the relevant line. please check below link: phpMyAdmin is throwing a #2002 cannot log in to the mysql server