How to Create a Database User and Define Privileges Tanzania

Create or Delete a Database User

After creating the database, you will need to create a user and assign privileges. Please note that MySQL user accounts must be created separately from mail and web administrator accounts.

Create a Database User

  1. Log into cPanel.
  2. Under Databases, click MySQL Databases.
  3. Click Jump to MySQL Users in the top-right corner of the page.
  4. Under Add New User, enter a username.Be sure that the username is 7 letters or shorter.
  5. Enter a password in the Password field.
    • For help generating a strong password, click the Generate Password button.
  6. Retype the password in the Password (Again) field.
  7. Click Create User.

Define a User's Privileges

Privileges determine how a user is able to interact with the database. For example, privileges will dictate whether or not the user can add and delete information.

Assign Privileges to Database User

  1. Log into cPanel.
  2. Under Databases, click MySQL Databases.
  3. Under Add User to Database, select a user from the User drop-down menu.
  4. From the Database drop-down menu, select the database to which you wish to allow the user access.
  5. Click Add.
  6. From the MySQL Account Maintenance screen, select the privileges you wish to grant the user, or select ALL PRIVILEGES.
  7. Click Make Changes.
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Managing MySQL Databases With PHPMyAdmin Tanzania

Let's learn how to Manage MySQL Databases with phpMyAdmin. This tutorial will assume that you are...

How To Create A MySQL Database Tanzania

Let's learn how to create a MySQL Database. MySQL Databases allow you to store lots of...

Importing databases and tables with phpMyAdmin Tanzania

This tutorial is to teach you how to import databases and tables with phpMyAdmin. We will assume...

Inserting fields into database tables with phpMyAdmin Tanzania

This tutorial is going to teach about the program phpMyAdmin, and how to Insert fields into...

Deleting tables in a database with phpMyAdmin Tanzania

This tutorial is to teach you about specific operations in phpMyAdmin. We are going to learn how...

Powered by WHMCompleteSolution