How to Create a MySQL Database in cPanel: A Step-by-Step Guide

When managing data on your website, creating a MySQL database in cPanel is essential. This step-by-step guide will help you achieve the desired outcome efficiently.

Steps Create a MySQL Database in cPanel

1. Accessing cPanel

Accessing cPanel

Log in to your cPanel account using your credentials. Contact your hosting provider if you need assistance.

2. Locating the “Databases” section & Clicking on “MySQL” Databases Wizard

Locating the "Databases" section & Clicking on "MySQL" Databases Wizard

Scroll down the cPanel homepage and navigate to the “Databases” section. Here, you will find various tools related to database management. Click on the “MySQL Database Wizard” option to proceed to the database creation page.

3. Entering a Database Name

Entering a Database Name

Enter a unique name for your database. It is recommended to choose a name that reflects the purpose of your database. Once you have entered the database name, click on the “Next Step” button to create your MySQL database and other steps.

4. Create a Database User

Create a Database User

In the “MySQL Users” section, enter a username and secure password for the database user.

5. Set User Privileges

Set User Privileges

Grant necessary privileges to the user for database access and management to ensure data security.

6. Click on “Make Changes”

Click on "Make Changes"

Once you have selected the privileges, click on the “Make Changes” button to save the settings.


By following these steps, you can easily create a MySQL database in cPanel to manage your website’s data effectively. Remember to note down all credentials for future reference.

Note: The steps may vary slightly depending on the cPanel version or hosting provider, but the basic process remains the same.

Rizwan Aritonang

An independent WordPress & Front-End Developer from Bandung, Indonesia.

Get In Touch

Leave a Comment