Knowledge Base
Steps to create database and add file content
In this tutorial, we will see how to create a new MYSQL database using cPanel.
There are two cPanel tools used to create MySQL Databases which are MySQL Databases and MySQL Database Wizard.
Note: MySQL Database name will be prefixed with the first 8 characters of the cPanel username. For example:
-
cPanel username: atestvwk
-
MySQL Database: atestvwk_dbname
Creating a database using MySQL database
-
Log into your cPanel account.
-
Click on the MySQL Databases menu in the Databases section.

-
Enter the database name you want on the New Database field and click the Create Database button.

-
Click the Go Back button
Creating a database using MySQL Database Wizard
-
Log into your cPanel account.
-
Click on the MySQL Databases Wizard menu in the Databases section.

-
Enter the database name you want on the New Database field and then click the Next Step button.

-
Enter a username Next to the Username field.
-
Enter a password next to the Password field, reenter the Password and then click on the Create User button.

-
Now you can assign rights for the user to the database. Check the box next to All Privileges and then click on Next Step button.

-
Once done, you will get a confirmation that the MySQL User was successfully added to the MySQL Database.

Steps to import MySQL databases
In this section, we will see how to import MySQL database using phpMyAdmin.
-
Log into your cPanel account.
-
Click on phpMyAdmin in the Databases section on the cPanel home screen. You will now be redirected to the phpMyAdmin interface.

-
On the left, click on the database that you will be working with.

-
Click on the Import tab.

-
Click on the Choose File button and select the compressed SQL file.
-
Ensure SQL is chosen as the format.
-
Click Go.

* Your feedback is too short