This guide explains how to create MySQL databases in cPanel, create database users with permissions and assign them to databases.
You’ll need to be logged in to cPanel to complete these steps.
Manage Databases (Create, Check, Repair, Rename, Delete) & Users
If you are installing a web application, then you will be asked for your database name, database username and password. You will also be asked for the MySQL or Database hostname – this will always be simply localhost.