How to assign a user to a MySQL database in cPanel Print

  • 0

cPanel Paper Lantern MySQL series

5. How to assign a user to a MySQL database in cPanel

This demo assumes you've already logged in to cPanel, and are starting on the home screen.
FutureHosting Best Hosting in Ireland - How to assign a user to a MySQL database in cPanel

Now let's learn how to assign a user to a database.

Click the "MySQL Databases" icon.
FutureHosting Best Hosting in Ireland - How to assign a user to a MySQL database in cPanel

Under "Add User To Database", select the user you want to add, and then select the database you want to add it to.
FutureHosting Best Hosting in Ireland - How to assign a user to a MySQL database in cPanel

When ready, click "Add".
FutureHosting Best Hosting in Ireland - How to assign a user to a MySQL database in cPanel

Select the privileges you want to grant the user... in this case, let's select "All Privileges".
FutureHosting Best Hosting in Ireland - How to assign a user to a MySQL database in cPanel

Then click "Make Changes".
FutureHosting Best Hosting in Ireland - How to assign a user to a MySQL database in cPanel

That's it! The user has been assigned to the database.
FutureHosting Best Hosting in Ireland - How to assign a user to a MySQL database in cPanel

You can see the user assigned to the database in the table of databases.
FutureHosting Best Hosting in Ireland - How to assign a user to a MySQL database in cPanel

This is the end of the tutorial. You now know how to assign database users to databases in cPanel.


Was this answer helpful?

« Back