Create a MySQL User

Simply Shell command to create a mysql user.

shell> mysql –user=username –password=password

mysql> CREATE USER ‘monty’@'%’ IDENTIFIED BY ‘some_pass’;
mysql> GRANT ALL PRIVILEGES ON *.* TO ‘monty’@'%’ WITH GRANT OPTION;

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.