Download from the Internet XAMPP decompression using the database has not been set password, the default is empty, has been using a good, today suddenly error, prompt "#1045-access denied for user ' root ' @ ' localhost ' (using password : NO) ", the online said the password is not right, but I did not set the password, who knows where the problem is, service start is no problem, Apache can, waiting for emergencies ...
Reply to discussion (solution)
Can you connect to the DOS command line with root?
Yes, directly run the Mysql.exe file even if the user name password is not entered, you can view the database
Locate the phpMyAdmin configuration file, as if it were a config.inc.php file, and locate the following line:
$cfg [' Servers '] [$i] [' user '] = ' root ';
$cfg [' Servers '] [$i] [' password '] = ' root ';
Change the password entry to empty and restart the server to try again.
Password is empty, I did not set Ah, tangled dead
Generally find the configuration file in the phpmyadmin.conf, the inside of the localhost corresponding to the deny to allow the good!