![]() |
Access denied for user ‘pma’@’localhost’ (using password: NO) |
![]() ![]() ![]() ![]() |
Retry to connect |
How to fix Access denied for user ‘pma’@’localhost’ (using password: NO)
Step1. Go to Xampp Control Panel.
Step2. Now select Config Tab of Apache Service and then do right click.
Step3. Now click on phpMyadmin(config.inc.php)
Step4. After that search the below line and Enter the password.
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'Enter password as "root"';
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'Enter you_password here';
Step5. Save and exit.
Step6. Now start the Apache service and check the error.
Conclusion
Hey you have successfully fixed the mysqli::real_connect(): (hy000/1045): access denied for user ‘root’@’localhost’ (using password: no) error.
Please let me know if you are facing any issue in the comment box. We will happy to assist you.
thanks it worked for me!
you save my life… thanks