How to Create a Database in cPanel

Create a Database in cPanel

Option #1 - Create a Database Using MySQL Database Wizard

Creating Databases in cPanel is quite easy:

  1. Log into cPanel
  2. Once logged in click on the 'MySQL Database Wizard' icon

MySQL Database Wizard

3. Enter a name for your new Database. (Note: The Database Name is automatically appended by cPanel username. Example: "exampledomain_newdatabase") then click on the 'Next Step' button.

MySQL Database Wizard Database Name

4. Enter a Database Username and Password for your New Database User. (Note: The Database Username is automatically appended by the cPanel username. Example: "exampledomain_user") Then click 'Create User'.

MySQL Create Database Users

5. Select the tick box for 'All Privileges' then click 'Next Step'.

MySQL Add User to the Database

5. Confirmation Message. If there were no issues you should receive a confirmation message that the database and database user was created and the privileges were assigned successfully. 

MySQL Database Wizard

 

That's it! You've successfully created your Database, Database User and assigned admin privileges to the Database user! 

 

Option #2 - Create Database & Database User Separately 

1. Log into cPanel

2. Click on the 'MySQL Databases' icon.

MySQL Databases

3. Enter a name for your New Database then click 'Create Database'

MySQL Databases Create New Database

4. You should be redirected to a confirmation message. Confirm the creation of your new database then click the blue 'Go Back' link to return to the Database Creation Screen. 

MySQL Database Confirmation

5. Scroll down to the MySQL Users section. Enter a Username and Password for your New Database User then click 'Create User'.

MySQL Database Users

6. Confirm the Creation of Your New Database User then click 'Go Back'.

MySQL Database User Go Back

7. Scroll Down to the Add User to Database Section. From the first drop down, select your new database user. From the second drop down select your new database. Click 'Add'.

 

8. Select the tick box for 'All Privileges' then click 'Make Changes'.

MySQL Database User Privileges

9. Confirmation Message.

MySQL Database Success!

That's it! If your changes were successful you should see a green success message in the top right-hand corner of cPanel. 

 

Need Help Creating Databases or Database Users? Submit a Ticket or Emailsupport@glowfroghosting.com

  • create a database, how to create a database in cpanel, create database and database user in cpanel, add user to database
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to import and export webmail contacts

How to import and export webmail contacts This article describes how to import and export...

How to Log in to cPanel

Option #1 - Access cPanel from within Frog Den Accessing cPanel from within FrogDen is a hitch:...

How to Restore a GlowFrog Created Backup Yourself: Restoring a GlowFrog Hosting Backup from cPanel - Automated Backup System (ABS)

Step#1 - Log into cPanel Restoring your website from a GlowFrog created Backup (ABS) in cPanel...

Backup Restore Request - Restore from GlowFrog Hosting Automatic Backup System

Back Up Restore Request - Process  Submit a Backup Backup Restore Request  Backup Restoration...

How to Create an Email Account in cPanel

How to Create a New Email Account Log into cPanel Once logged into cpanel, click on the...