Website general: How Do I Create a MySQL User, Database or Delete if Needed?
Search:
How Do I Create a MySQL User, Database or Delete if Needed?

First of all, you need to login to your website Control Panel, example: http://yourwebsite.com/cpanel . You will need to have a cPanel username and the password, ask to your webhosting provider if you don't have it yet!


Create a MySQL Database

  1.     Log into cPanel.
  2.     Under Databases, click MySQL Databases.
  3.     In the New Database field, type a name for the database.
  4.     Click Create Database.
  5.     Click Go Back.
  6.     The new database will appear in the Current Databases table.

 

 

Create 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.

  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.
  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.
 

 

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.
 
 

 

Unassign a User from a Database

  1. Navigate to the Current Databases section of MySQL Databases.
  2. Locate the database you wish to modify.
  3. In the Users column for that database, click the X next to the user you wish to delete.
 


Delete a MySQL Database

  1. Navigate to the Current Databases section of MySQL Databases.
  2. In the Actions column of the table, click Delete Database next to the database you wish to delete.

 

 

Delete a Database User

  1. Navigate to the Current Users section of MySQL Databases.
  2. In the Delete column, click the X next to the user you wish to delete.

 

 

Other tutorials in Website general:

 

Popular Tutorials:


Testimonial

Charles Thomas from Usa:
 Hello, this is Charles over at stage-3 and I wanted to say thanks for all your support. I'm new at operating my business online and boy an I learning something new. Thanks to the support from EGN I was able to get the site up much faster. I have a long way to goand I know I can count on them when I need help. Thanks Guys, Charles Thomas aka....The Mail Man 

Latest News

Accepted Payments

Copyright © 2007 - 2026 EGN Software, All rights reserved

Talk to us?