---
title: How to Create a Database in cPanel
description: Unlike on your local machine where you create a database via phpMyAdmin, databases in cPanel are created differently. To create a database in cPanel, use this guide 1. Login to cPanel 2. Go to MySQL Databases icon under Databases and…
url: "https://truehost.com/support/knowledge-base/how-to-create-a-database-in-cpanel/"
updated: "2024-06-07"
---

# How to Create a Database in cPanel

Unlike on your local machine where you create a database via phpMyAdmin, databases in cPanel are created differently. To create a database in cPanel, use this guide

1. Login to cPanel
2. Go to MySQL Databases icon under Databases and click it

![](https://truehost.co.ke/support/wp-content/uploads/2020/11/Screenshot_2020-11-23-cPanel-Main.png)

3. Under Create New Database, type your database name. NOTE that the database name will take the format **cpaneluser_databasename** eg if I create a database called blog and my cPanel username is truehost, then database will be truehost_blog

![](https://truehost.co.ke/support/wp-content/uploads/2020/11/Screenshot_2020-11-23-cPanel-MySQL®-Databases-1024x310.png)

4. Now to access the database and manage it, eg create tables, go to **phpMyAdmin** icon

![](https://truehost.co.ke/support/wp-content/uploads/2020/11/Screenshot_2020-11-23-cPanel-Main1.png)
