For some websites you may need a MySQL database. This guide explains how to setup a MySQL database for web hosting.
Firstly you will need to log into your cPanel.

Once you are logged into your cPanel proceed to the "Databases" section and then click the "MySQL Databases" tab.
MySQL Database Tab

Then proceed to create your database by filling in the database name and then clicking "Create Database".
Creating MySQL Database

Then add a MySQL User by inputting the user's name and password.
Adding MySQL Database User

Add the MySQL user to the MySQL Database.
Adding MySQL User to MySQL Database

You have successfully setup a MySQL Database and MySQL User with privileges to use the database. You can now open the database by using phpMyAdmin in cPanel.
Was this article helpful?
Cancel
Thank you!