Getting PHPMyAdmin working on WampServer 2

I am working on a project that requires me to use Windows for a WordPress install.  Unfortunately I cannot seem to get my code to run on the WampServer I am beta testing on so I needed to install it locally to make debugging easier.  Since it has been since college since I setup and installed a web server on Windows (IIRC) I ran into a couple hurdles.  The most aggravating was PHPMyAdmin because I kept getting an “Access Denied” error.  Well after a good bit o’ Google-fu I finally found a solution that worked.

You need to go to your web root and navigate to the PHPMyAdmin installation: C:\wamp\apps\phpmyadmin3.1.3.1.  There are two installs by default but make sure you edit the one you plan on using.  WampServer 2 installs MySQL by default without a password and if you want to keep using it that way you will need to make sure you add the following line to your config.inc.php file (located in the aformentioned directory).  Most likely you will need to simply add the following line to the config:

$cfg[‘Servers’][$i][‘AllowNoPasswordRoot’] = TRUE;

Once you do that you should be able to refresh PHPMyAdmin and get down to business.

1 comment

Leave a comment