Most dynamic websites, including WordPress, need a MySQL database to store content and settings. In cPanel you can create one in under a minute. This guide covers the creation step and what to do next so your website can use it.
1. Log in to your cPanel account.
2. In the Databases section, click on MySQL Databases.
![]()
3. In the New Database field, enter a name for the new database you wish to create.
4. Click on Create Database.
What happens to the database name
cPanel adds your account username in front of the name you type, for example username_mysite. Use that full name when you configure your website, such as in the WordPress wp-config.php file.
Next: create a user and give access
A database does nothing until a user can connect to it. Create a database user, then add that user to the database with the privileges your website needs. Use a strong password and keep it somewhere safe. See the related guides below for each step.
Good practice
Choose a short, clear name, keep one database per website, and include the database in your regular backups.
Frequently asked questions
How many databases can I create? The limit depends on your hosting plan. Your cPanel account shows the number you have used.
Why is there a prefix on my database name? cPanel adds your username so database names stay unique on the shared server. This is normal.
Do I need a database for a static website? No. Plain HTML sites do not need one. WordPress and most web applications do.
Related guides
- Create a database in cPanel
- Create a database username
- Add a user to a database and grant privileges
- Delete a database in cPanel
Need cPanel hosting in Kenya? See KickHost hosting plans or contact our team.
Found this useful? Share it.
