PHP, jQuery, MySQL, .Net, CMS

Main menu

Post navigation

Access denied error in phpmyadmin

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.