Date: 11/30/00
- Next message: Alexey Borzov: "Re[3]: [PHP-DB] Re: MySql or postgre?"
- Previous message: Mathieu Arnold: "Re: [PHP-DB] Re: MySql or postgre?"
- In reply to: Brandon Feldhahn: "[PHP-DB] create username and password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> i just downloaded MySQL and i cant figure out how to create a user name
> and password. PLEASE HELP!
use mysqladmin to set root (of mysql) password.
<root <email protected>>/path_to_mysql_bin/mysqladmin password 'your_password'
To create another mysql user, use SQL command GRANT.
example:
mysql> GRANT insert,select ON database.* TO newusername <email protected>
IDENTIFIED BY 'newuser_password';
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Alexey Borzov: "Re[3]: [PHP-DB] Re: MySql or postgre?"
- Previous message: Mathieu Arnold: "Re: [PHP-DB] Re: MySql or postgre?"
- In reply to: Brandon Feldhahn: "[PHP-DB] create username and password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

