This guide shows you how to grant a MySQL user full privileges to a database through cPanel. The MySQL privilege system controls what actions users can perform on databases, such as INSERT, SELECT, DELETE, and UPDATE operations. By granting all privileges, you give the user complete control over the specified database.

How to Grant All Privileges

  1. Step 1: Log in to cPanel

    Access your cPanel account using your credentials.

    cPanel login

  2. Step 2: Navigate to MySQL Databases

    In the "Databases" section, select "MySQL® Databases."

    MySQL Databases section

  3. Step 3: Add User to Database

    Scroll to the "Add User To Database" section. Select the user you want to grant privileges to from the first dropdown menu, then select the corresponding database from the second dropdown. Click the "Add" button.

    Add user to database

  4. Step 4: Select All Privileges

    You will be redirected to the "Manage User Privileges" page. To grant all privileges to the user, check the "ALL PRIVILEGES" checkbox at the top of the privilege list.

    All privileges checkbox

  5. Step 5: Save Changes

    Click the "Make Changes" button to apply the privileges. The system will display a success message confirming that the user's privileges have been saved.

    Success message

  6. Step 6: Return to MySQL Databases

    Click the "Go Back" link at the bottom of the page.

    Go back button

  7. Step 7: Verify Privileges

    You will be redirected to the MySQL® Databases page. In the "Current Databases" table, the "Privileged Users" column now shows the user you just granted privileges to.

    Privileged users list