Adding a User to a MySQL Database in cPanel Print

  • 0

How to Assign a User to a MySQL Database in cPanel

This guide details the steps necessary to link an existing database user to an existing MySQL database and define the user's access permissions.


Step 1: Accessing Database Management

  1. Log in to your cPanel control panel.
  2. Navigate to the Databases category and click on the MySQL Databases link.

Step 2: Assigning the User

  1. On the MySQL Databases page, scroll down until you locate the "Add User To Database" heading.
  2. Use the drop-down menus to select the specific database user you wish to link, and then select the database that user needs access to.
  3. Click the Add button to initiate the assignment process.

Step 3: Setting User Privileges

  1. On the next screen, choose the privileges you want the user to have within the database. Selecting All privileges is generally suitable for most web applications.
  2. Click the Make Changes button to save the permissions and complete the user assignment.
The database user now has the specified access rights to the selected database.

Was this answer helpful?

« Back

Powered by WHMCompleteSolution