Help Center
-
Getting Started
-
Client Area
-
cPanel
- How to Log In to cPanel
- How to Use the File Manager in cPanel
- How to Connect via FTP Using FileZilla
- How to Create a MySQL Database in cPanel
- How to Use phpMyAdmin
- How to Create Email Accounts in cPanel
- How to Create Subdomains in cPanel
- How to Install a Free SSL Certificate (Let's Encrypt)
- How to Install WordPress with Softaculous
- How to Change Your PHP Version in cPanel
- How to Create a Backup in cPanel
- How to Set Up Cron Jobs in cPanel
- Understanding Resource Usage and CloudLinux Limits
-
Email
-
WordPress
-
Domains
-
Billing & Payments
-
Website Security
-
Web Design Services
-
SEO Services
-
Troubleshooting
-
Cancellations
-
Frequently Asked Questions
< All Topics
Posted
Updated
Creating a MySQL Database
Databases store the content for dynamic websites and applications like WordPress, Joomla and Magento. Here is how to create a MySQL database in cPanel.
Step-by-Step Guide
- Log in to cPanel
- In the Databases section, click MySQL Databases
- Under Create New Database, enter a name for your database (e.g.
mysite_db) and click Create Database - Scroll down to Add New User and create a database user with a strong password. Click Create User
- Under Add User To Database, select your new user and your new database, then click Add
- On the next page, select All Privileges and click Make Changes
Note Your Database Details
You will need these details when installing a CMS like WordPress:
- Database name: cpanelusername_dbname
- Database user: cpanelusername_dbuser
- Password: the password you set
- Host: localhost
Managing Your Database with phpMyAdmin
Once created, you can manage your database in cPanel ? phpMyAdmin. See our guide: How to Use phpMyAdmin.
Table of Contents