Your country & currency

Make yourself at home. Choose your preferred shopping currency.

Your selected country opens its KickHost website. Your shopping currency is saved. Visit country website .

Guide

How to Create a Database in cPanel

Create a MySQL database in cPanel on KickHost hosting, then add a user and privileges. Clear steps for websites and WordPress in Kenya.

Share

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.
Mysql databases icon

3. In the New Database field, enter a name for the new database you wish to create.
Create db

4. Click on Create Database.
Paper db added successfully

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

Need cPanel hosting in Kenya? See KickHost hosting plans or contact our team.

Found this useful? Share it.

Need a hand with this?

Our team can help you choose the right domain, hosting or server and set it up properly.

Talk to our team See hosting plans