Solution to Trouble Accessing PhpMyAdmin with WAMP

I've recently started playing with PHP.  PHP has some great resources and for the most part it was easy to install on my windows box with WAMP (Windows Apache MySql PHP).  I initially ran into an issue because I could not access myPHPAdmin. Instead I got the following error:

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

Apparently this indicates that I am not using a password.  For me it meant that my password was not set in MySql and also that the configuration file had no password set.

I did some searching throughout the web and found several solutions that probably work but the one that worked for me was this one

It appears that I already had installed mySql prior to installing WAMP but had never configured it.  It was just a matter of running it from the command line, setting up the password and then modifying the configfile in the folder  C:\WAMP\Apps\PhpMyAdmin\.


Popular posts from this blog

Simple Example of Using Pipes with C#