xampp phpmyadmin access denied error(#2002) after changing password from web interface

1. Start apache and mysql service from XAMPP control pannel then open the shell interface

2.  mysql -u root -p
     Enter password:-*****

3. run this follwing query

UPDATE mysql.user SET Password=PASSWORD('password') WHERE User='root'; FLUSH PRIVILEGES;

4. C:\xampp\phpMyAdmin on this path find the file called  "config.inc.php"

5. now $cfg['Servers'][$i]['password'] = 'yourpwd';

6. save the file.

7. Open http://localhost from web browser and try for me it helped...

Previous Post
Next Post
Related Posts