Contact
Site: US UK AU |

How to change permissions for MySQL users

How to change permissions for MySQL users

Overview
This article demonstrates how to change an existing user's permissions in a MySQL database.

Procedure

  1. Log in to your SiteWorx account.

  2. From the SiteWorx main menu, click Hosting Features > MySQL > Databases (Figure 1).


    Figure 1. SiteWorx main menu, Hosting Features > MySQL > Databases.

  3. In the Existing Database section, locate the relevant database, then click Manage Users (Figure 2). 


    Figure 2. Existing Databases section; Manage Users.

  4. You may view existing permissions for all users in the Existing Permissions section. To edit a user's permissions, from the User drop-down list, select the user, then select or clear the appropriate check box corresponding to each permission (Figure 3).


    Figure 3. MySQL Database Management section; User drop-down list and permission check boxes.

  5. Click Save.

User permissions

The following table defines the permissions available for application to a specific MySQL Database user account.

User Permissions Operations Allowed
Select Select rows from tables in the database.
Create Create new databases or tables.
Alter Alter the table structure.
Show View Show views.
Insert Insert rows into tables.
Drop Drop or remove existing databases and tables. If this permission is enabled for a user, the user will be able to drop the database in which the MySQL access privileges are stored.
Create Temporary Table Create temporary tables.
Create Routine Create stored routines, procedures, and functions.
Update Update database table rows and data.
References Not currently used.
Lock Tables Lock tables in the database.
Alter Routine Modify or alter stored routines.
Delete Delete data and rows in database tables.
Index Create or remove indexes.
Create View Create a new view.
Execute Execute stored routines, procedures and functions.
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How to purchase a Wildcard SSL certificate
Added on Wed, Jan 14, 2015
How to import and export MySQL databases
Added on Fri, Nov 13, 2015
How to view your bandwidth usage
Added on Wed, May 23, 2018
How to secure your SiteWorx account
Added on Tue, Dec 9, 2014
How to delete a MySQL database with SiteWorx
Added on Tue, Jul 30, 2013
How to show running MySQL queries
Added on Fri, Nov 13, 2015
How to perform one-time backups with SiteWorx
Added on Mon, Aug 5, 2013
How to create a pointer domain with SiteWorx
Added on Tue, Aug 6, 2013
What is phpMyAdmin?
Added on Fri, Sep 5, 2014
How to enable SSH access
Added on Tue, Jun 6, 2017