User Tools

Site Tools


create_new_mysql_user

This is an old revision of the document!


Create MySQL user

First create user:

 CREATE USER '<username>'@'<host to connect from>' IDENTIFIED BY '<password>';

Grant some rights to the user (here all as * is used):

GRANT * ON <database name>.* TO '<username>'@'<host to connect from>';

Put privileges into action:

FLUSH PRIVILEGES;

Check MySQL documentation for more details.

create_new_mysql_user.1306933115.txt.gz · Last modified: 2012/03/22 11:10 (external edit)