Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error #1045 Access Denied in PhpMyAdmin

Basically I changed the password of MySQL via CMD and after that when I tried to visit the phpmyadmin page it shows me Error #1045 Access Denied.

I would like to how to fix this problem. Thanks in advance.

like image 254
Shabir Gilkar Avatar asked Mar 13 '11 03:03

Shabir Gilkar


1 Answers

Go to phpMyAdmin folder (in my case it is C:\wamp\apps\phpmyadmin3.2.0.1). In the file config.inc.php change the line

$cfg['Servers'][$i]['auth_type'] = 'config'

to

$cfg['Servers'][$i]['auth_type'] = 'cookie'

Now the password will be asked on your first visit of the phpMyAdmin page

like image 198
Dmitro Avatar answered Oct 09 '22 14:10

Dmitro