Websitetemplate.org

Welcome > MySQL > MySQL: User Add

MySQL: User Add

$ mysqladmin -uROOT -pPASS create username
$ mysql -uROOT -pPASS
mysql> grant all on database.* to username@hostname identified by "userpass";
mysql> FLUSH PRIVILEGES; 

Content Copyright 2003-2014 George Toft