Page 1 of 1

[SOLVED]MySQL -> How to create users?

Posted: Fri Apr 04, 2008 11:05 am
by Jonah Bron
Hello, world!

After using XML for a while, I saw that there are many uses for a DB. So, I'm learning SQL, with MySQL.

I set it up, but can't figure out how to make users. I ask, because I CREATE DBs.

Thanks for your help!

Re: MySQL -> How to create users?

Posted: Fri Apr 04, 2008 11:22 am
by onion2k
With CREATE USER and GRANT PRIVILEGES.

http://dev.mysql.com/doc/refman/5.0/en/ ... users.html

Re: MySQL -> How to create users?

Posted: Fri Apr 04, 2008 5:45 pm
by Jonah Bron
Thanks, onion. Was connected as 'localhost' instead of 'root'. Silly me. :crazy: