Hello zayn_william,
Sometimes the phpMyAdmin access denied shows error #1045 when we need to make database changes. However, you can follow the below methods to fix the phpMyAdmin access denied error,
- Firstly, navigate to the phpMyAdmin folder,
C:\wamp\apps\phpmyadmin3.2.0.1
- Now, In the config.inc.php file, you need to change the below line,
From
$cfg['Servers'][$i]['auth_type'] = 'config'
To
$cfg['Servers'][$i]['auth_type'] = 'cookie'
$cfg['Servers'][$i]['auth_type'] = 'config'
To
$cfg['Servers'][$i]['auth_type'] = 'cookie'
- Then, a password will be requested on your foremost browse of the phpMyAdmin page.
- Lastly, enter the password and check if it is working or not.
- You must change the database password value in C:\wamp\apps\phpmyadmin3.4.5\config.inc.php file into your MySQL database password.
Thus, I hope the above solutions help you to resolve the phpMyAdmin access denied showing error #1045.
----------------------------------
Regards,
Rex Maughan
Leave a comment: