/kb

personal knowledgebase

Create a new MySQL-user with all privileges

without comments

GRANT ALL PRIVILEGES ON thedatabase.* TO 'theusername'@'localhost'
	IDENTIFIED BY 'thepassword' WITH GRANT OPTION;

UPDATE 20080916: Skip the last line if the user exists.

Theoretically related posts

Written by hgrimelid

May 17th, 2008 at 7:26 pm

Posted in Server

Tagged with

Leave a Reply