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“.