MySQL help - user and pass

They have: 426 posts

Joined: Feb 2005

Iwant to add a username and password to a mysql database through phpmyadmin. But i dont know what the sql is.

I cant find it anywhere on the internet - GRANT is part of iy i know

Busy's picture

He has: 6,151 posts

Joined: May 2001

Is this on your home computer or your web hosts?

If its your home, and you just installed mysql etc then username would be root and password would be empty.

If it's your web host then you need to set up the database through your control panel (ensim, plesk etc) and this will assign the name and password for you (that you choose)

phpmyadmin is just an editor,
take a look at http://www.netadmintools.com/art90.html if you want to reset the home pc password

They have: 426 posts

Joined: Feb 2005

Ok so how can i add a password to root or add a whole new username and password to mysql. Yes it is on my local machine. I have phpmyadmin installed.

ohrana's picture

They have: 156 posts

Joined: Sep 2006

I think you can always apply to your hosting support for help.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.