Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

How do I grant an MySQL user permission to a database?

Solution

1. Log into your CPanel ( https://www.yourdomain.com:2082).

2. Click on the “MySQL Databases” link. This will display the “MySQL Account Maintenance” screen.

3. Now locate the two drop-down boxes with a button that says [Add User to Db]

4. In the drop down select box on the left, choose your newly created username, and in the box on the right, choose your newly created database.

5. Check “All” for Privileges or choose specific permissions.

6. Click on “Add User to Db“.

Share on Twitter
Share on Facebook