Tsohost Knowledge Base

How do I create a MySQL database in cPanel?

Modified Monday 3rd November, 2014 at 10:45

Was this helpful?

Step 1: Login and navigate to Databases

Log into your cPanel account and click on the MySQL Databases icon under the Databases tab.

Step 2: Create New Database

Enter the New Database name into the text box and click Create Database.

Step 3: Create A Database User

Enter the new database Username into the text box and click Password Generator.

Step 4: Password Generator

You can use the Password Generator to generate a strong secure password for your Database User. Once you have clicked on Generate Password, check the box that says I have copied this password in a safe place, then click on Use Password.

Step 5: Add New Database User

Once you are happy with your new database Username and Password click Create User.

Step 6: Add User To Database

From the first drop down menu select the new User and then from the second drop down menu select the new Database name and then click the Add button.

Step 7: MySQL Account Maintenance

On the MySQL Account Maintenance page to grant the user all privileges for the database tick the box on the left hand side of All Privelages and then click Make Changes.

Step 8: Current Databases


You have now created your new Database and Database User. On the Current Databases table you will be able to see the Database, the Size of the database and the database User. You can also Delete the Database.


Still can't find what you're looking for?

That's not a problem. Our 24/7 customer support team are friendly and waiting to help answer your questions. The easiest way to get in touch is to raise a support ticket; simply click the button below.

Open Support Ticket