Monday, January 25, 2010


Add a user :

create user 'user'@'%' identified by 'pass';

Grant privileges :
grant all privileges on *.* to 'user'@'localhost' with grant option;
flush privileges

Set root password for the first time :
mysqladmin -u root password NEWPASSWORD

Posted by Posted by WL at 12:23 PM
Categories:

 

0 comments:

 
>