phpmyadmin access problem

All of a sudden I started to get the following error:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

whenever I tried to access to mysql database through phpmyadmin. I have been using it flawless for very long time.

I modified the following file:

/var/lib/phpmyadmin/config.inc.php

by changing

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

to

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

and everything is working fine now.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: