i install xampp,but when i try to run it i got error said that like this :
Error
MySQL said: Documentation
1045 - Access denied for user 'root'@'localhost' (using password: NO)
Connection for controluser as defined in your configuration failed. phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
i try search in internet for solution, but i still can't fix my problem. I already check whether i used password or not in config.inc.php file. but i do not have use any password. and when i try put password, i still can't solve this problem.
i hope anyone can help me. .thank you
Go to file C:\wamp\apps\phpmyadmin3.2.0.1\config.inc.php
Find the line $cfg['Servers'][$i]['password']='' and change this to
Hope this helps somebody.
Try resetting your password since it seems it has changed you can reset your password by going to
and clicking on the resetroot.bat file
Then change in the php config file the password back to blank and you should have access again
My.ini
from the file#password
and#bind-address="127.0.0.1"
are commented change the password to root and uncommentbind-address="127.0.0.1"
and from the filecds.php
change theStop the Mysql services and try login again it got logged in.
Here's the solution to getting the
1045 Access denied for user 'root'@'localhost' (using password: NO)
in phpMyAdmin.First here's what happens:
The problem occurs when you change over from using phpMyAdmin with no password and mysql with no root password. You change root in mysql to having a root password. You dutifully change phpMyAdmin's config.ini.php file's
$cfg['Servers'][$i]['password']=''
line to include your password and restart everything you can find, but phpMyAdmin still can't get through.The reason is that your browser still contains cookies for phpMyAdmin and those cookies reflect not needing a password to access mysql.
The solution:
Clear out the cookies relating to phpMyAdmin. Its browser specific, but in my Firefox, its under Tools > Page Info > Cookies.
You might need to relog in with phpMyAdmin or use the signon.php script (under /examples in my WAMP install).
I think to troubleshoot your problem you should try the following: