Re: #1045 - Access denied for user 'root'@'localhost' (using password: YES)
Posted by:
BellaMary
(---.hsd1.wa.comcast.net)
Date: August 16, 2010 08:50AM
Hi, I'm new here, very new but I would just like to say thank you to everyone that has posted so much great information about WAMP server. I'm just beginning to understand it all, a little each time. I'm not what you would call a well versed person when it comes to servers, php or ftp but I do understand a little bit about causing a lot of sleepless nights siting in front of my computer banging my head trying to figure out what I did wrong...until I discovered a little gem of a program called REVO. It actually is quite handy when dealing with the installation and removal of programs. I had correctly configured WAMP server after following a very nice walk through on configuring WAMP server to work with Word Press, when I discovered that I was receiving a message in red at the bottom of the WAMP server screen informing me that,
"Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user '.root'.
I did what the program asked of me. First password I created was for the ip address for local host, which I successfully changed but the second one is where I caused a whole lot of confusion. You see, I changed the password for the "root localhost" and when I selected go, that's when I experienced the dreaded 1045 error message. At my wits ends, I tried every solution that was mentioned to no avail, then I decided to uninstall the program with REVO and presto. REVO not only uninstalled the program but it also discovered all of the little presents that WAMP and MYSQL left behind, like registry entries and a bunch of other stuff that I can't remember. When the uninstall was finished, I shut down my computer, counted to 10 and when it rebooted I reinstalled WAMP and now it is working fine. I don't know if my solution will help anyone else but this is what helped me. I hope this helps.