views:

961

answers:

2

I run XAMPP, a few days back i had set up a password for the root password through phpmyadmin I am not able to access phpMyAdmin ever since that moment

I followed help on this link but everything seems fine there (in config.inc.php). I even tried unistalling xampp fully, restarting windows and then reinstalling xampp, but still pointing to localhost/phpmyadmin I get the following error

MySQL said: 
Cannot connect: invalid settings. 
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 Also tried to reset root password through mysqld.bat as given on mysql's website help but to no avail

Please Help!

+2  A: 

Go inside your phpMyAdmin directory inside XAMPP installation folder. There will be a file called config.inc.php, inside that file, there will be a

$cfg['Servers'][$i]['password'] =

you must make sure that this field has your mysql root password (the one that you set).

Saeros
i did that too, still nothing happened
OrangeRind
http://www.apachefriends.org/en/xampp-windows.html#1224 This site might help you, why dont you try it for more details
Saeros
thanks i'll do that
OrangeRind
A: 

Try this workaround to get login PHPMyAdmin MySQL Error 1045 - Access denied for user root@localhost (using password: NO)

Manx