Problem
When you try to access PHPMyAdmin ( http://127.0.0.1/phpmyadmin/ ) browser (Firefox recommended) denies your from accessing the Admin panel.
Solution
Here is a simple tip to solve Wampserver access denied for user root@localhost(using password: NO) error. If you carefully read each step you can certainly solve your problem.
- Open My Computer
- Go to C:\wamp (Note: This is Wampserver directory)
- Then go to apps > phpmyadmin3.5.1
- Now find out file named config.inc.php and open it in a text editor (Eg: Notepad)
- Now find $cfg['Servers'][$i]['password'] = ”;and change it with $cfg['Servers'][$i]['password'] = ‘admin’; (Enter a password in the place of admin (Red Colored), this is only a test password).
- Now find $cfg['Servers'][$i]['AllowNoPassword'] = true;and replace it by $cfg['Servers'][$i]['AllowNoPassword'] = false;
- Done! Now save your changes (Press Ctrl + S or go to file and choose 'Save')
- Now you need to restart the Wampserver. To do this left click on the wamp icon in the system tray (The right bottom corner, where the time is being shown), now click on Restart all Services in the upcoming menu box.
Screenshot: WampServer Restarting All Services |
I believe this quick tip have resolved your problems. If you still face any problem on wamp you can really comment below. You can also share your result to inspire me as well the readers.
...
Still getting same error #1045 - Access denied for user 'root'@'localhost' (using password: YES)
ReplyDelete