Hostwinds Tutorials

Search results for:


Table of Contents


How do I Create Permissions for MySQL Databases?
How do I modify a user's permissions in a MySQL Database?
How do I review current users, change their passwords, or delete them?

Managing MySQL User Permissions in cPanel

Tags: cPanel,  MySQL 

How do I Create Permissions for MySQL Databases?
How do I modify a user's permissions in a MySQL Database?
How do I review current users, change their passwords, or delete them?

There are times when a database user does not need to have full permissions to a database to interact with a MySQL Database. If you ever need to create a user with restricted permissions, this guide will help you do just that.

How do I Create Permissions for MySQL Databases?

MySQL users can be set up with certain permissions to regulate their access.  What users are allowed to do include SELECT, INSERT, UPDATE and DELETE.  This guide will show you, the administrator, how to set or revoke those privileges through your cPanel account.

To get started, you will want to go to: Home > Databases > MySQL Databases as shown in this image:

  1. Scroll down to the Add User to Database section
  2. From the first dropdown box, select the User
  3. From the second dropdown box, select the database
  4. Click the Add button
  1. Choose the permissions you want the user to have, or select All Privileges if you want to give them all.
  2. Click the Make Changes button.

How do I modify a user's permissions in a MySQL Database?

  1. If you want to modify the permissions you provided a user, then head back into the Current Databases section of Databases.
  2. Click on the username next to the database that you want to update.
  1. The user permission options will appear in a series of checkboxes, similar to before.
  2. Check the box you want to update their permissions to, and click the Make Changes button.

How do I review current users, change their passwords, or delete them?

  1. Towards the bottom of MYSQL Databases is a list of all users created.
  2. You can manage the user's password, edit their user name, or delete them entirely.

Written by Michael Brower  /  December 13, 2016