• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How do I find my MySQL username/password?


#1
I have a WAMP server installed on my computer. I had installed WordPress and been using it for awhile and everything was fine. But I accidentally deleted the WordPress folder (don't ask) and now I'm trying to re-install it, but I don't remember my username and password for MySQL. Where do I go to find it? Is there a SQL command that will show it?
 
#3
Ok I figured it out. I never set a username or password. So my username was the default root and there was no password. No wonder I couldn't remember it.

But I had initially thought my username was admin, that's why WordPress was saying the password was incorrect when I left it blank, which led me to believe I actually had a password.

Thanks for the reply Mark.