Access denied error in phpmyadmin

 

image

Did you ever got this error in phpmyadmin? Maybe, that’s why you’re reading this right now.
I won’t spoil the moment even further. Here’s the solution:

 

First you need to go to the directory below. It’s not necessary that we have the same version of phpmyadmin. What’s important is that you go to a directory similar to this address:

C:wampappsphpmyadmin3.3.9

Then open up the config.inc.php file. Edit this line:

$cfg['Servers'][$i]['password'] = '';

Make sure that it matches the mysql password that you have. If you have forgotten they mysql password as well. Then you might want to download another version of mysql from wampserver (add-on) and use it as your primary server by going to the wampserver try icon. Left click it and go to mysql –>version, and check the newly installed version.

Select restart all services from wampserver tray icon.

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