How to Grant all Privileges to a User in MySQL with cPanel?

This article outlines the process of granting a user all privileges in MySQL. The MySQL privilege system enables users to make specific modifications to a database following verification. Users can execute database actions like INSERT, SELECT, DELETE, and UPDATE, depending on the permissions granted in cPanel.

To grant a user all privileges in MySQL, follow these steps:

  1. Log in to your cPanel account.

 

https://www.eukhost.com/kb/wp-content/uploads/2021/09/1-7.png

  1. Navigate to the "Databases" section and select "MySQL® Databases."

 

https://www.eukhost.com/kb/wp-content/uploads/2021/09/2-6.png

  1. Head to the “Add User To Database” section within the MySQL Users category. Select the user you want to grant rights to and the corresponding database. Then, click the "Add" button on the subsequent screen.

 

https://www.eukhost.com/kb/wp-content/uploads/2021/09/3_censored-5-1.jpg

  1. You will be directed to the "Manage User Privileges" section, allowing you to choose the user's privileges.

  2. To assign all privileges to the user, tick the "ALL PRIVILEGES" box, and then click the "Make Changes" button.

 

https://www.eukhost.com/kb/wp-content/uploads/2021/09/4-3.png

  1. The system will present a success message, confirming that the user's chosen privileges have been saved.

https://www.eukhost.com/kb/wp-content/uploads/2021/09/5_censored-1.jpg

  1. Select "Go Back" from the list at the bottom.

 

https://www.eukhost.com/kb/wp-content/uploads/2021/09/6-1.png

  1. Subsequently, you will be redirected to MySQL® Databases. The "Privileged Users" column in the "Current Databases" table now includes the user to whom you've recently granted privileges.

 

https://www.eukhost.com/kb/wp-content/uploads/2021/09/7_censored-1.jpg

That concludes the process! We hope you now understand how to grant a user all privileges in MySQL using cPanel. For further assistance, feel free to reach out to our support team, available 24x7 just for you.

 


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 7100