Setting up a new MySQL user account with grant permission

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

Setting up a new MySQL user account with grant permission

Post by cah »

Code: Select all

$ mysql -u<rootuser> -p<rootuser_password>
mysql> GRANT ALL PRIVILEGES ON *.* TO '<username>'@'%' IDENTIFIED BY '<password>' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
CAH, The Great
Post Reply