How to Grant MySQL Database Privileges to a Database User

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

Log in to your cPanel account.

 

From the Databases section, pick “MySQL® Databases”.

 

Add a user from "Add User To Database” section under the MySQL Users section. Choose the User to whom you’d like to grant rights, as well as the Database to which you’d like to do so. Then, on the next screen, click the Add button.

 

 

You’ll be taken to “Manage User Privileges”, where you can select the user’s privileges.

To grant the user all privileges, check the ALL PRIVILEGES box and click the Make Changes button.

 

When you have successfully granted previllages, a pop-up success message, will come, indicating that the user’s selected privileges have been saved.

By this your user have the privillages.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What MySQL Version I'm Using?

This demo assumes you've already logged in to cPanel 1. On right hand side you have...

How to Backup & Restore a MySQL Database

How to backup Mysql Database.   First, log in to your cPanel using your username and password....

Insert Data Into Your Mysql Database

This demo assumes you've already logged in to cPanel Scroll down to the Databases section...

Remotely Connect to a Databases

Configuring a Remote MySQL Database 1. Log in to your cPanel account. 2. Navigate to the...

How Do I Create a Database?

This demo assumes you've already logged in to cPanel Now let's learn how to create a MySQL...