0321-2222869
Call Now
0341-2496955
0300-2418543

Databases

How to add a user to a database and add privileges?

1. Log into your cPanel account.
2. In the “Databases” section, click on “MySQL Databases” Icon.
3. Scroll down to the end of the page and under “Add a User to a Database“, select a user from the dropdown list, and then choose a Database from the list.

4. Click on the “Add” button.

20

5. On “Manage User Privileges“, mark the box “ALL PRIVILEGES” and click on “Make Changes“.21

How to Create a Database Username in cPanel?

1. Log into your cPanel account.
2. In the “Databases” section, click on “MySQL Databases” Icon.
3. Under “MySQL Users” in the “Username” field enter the new username you wish to create.
4. Enter your new password or use a password generator.
5. Click on the “Create a User” Button.

19

Tip: Write down the Database Username and Password on a notepad so that when you need them, you can easily recall them while installing a script manually.

How to delete a database in cPanel?

1. Log into your cPanel account.
2. In the “Databases” section, click on “MySQL Databases” Icon.

3. Under “Current Databases” you can see a list of all your databases. Locate the Database you wish to remove and then click on the “Delete” icon.

18

4. Click on the “Delete Database” button.

How to rename a database in cPanel?

1. Log into your cPanel account.
2. In the “Databases” section, click on “MySQL Databases” Icon.

3. Under “Current Databases“, You can see list of your all databases. Locate the Database and then click on “Rename” Icon.

16

4. Change database name and then click on “Proceed” button.17

How to create a database in cPanel?

1. Log into your cPanel account.
2. In the “Databases” section, click on “MySQL Databases” Icon.
3. In “New Database: Username_” field enter a name for the new database you wish to create in the text field.

15

4. Click on the “Create Database” Button.