How do I create a database?

Databases are used to store data for your website or content management system (such as WordPress).

Please see the following steps on how to create a MySQL database in cPanel.

 

  1. Log in to your LetsHost client area and click on Services > My Services
  2. You will see your products/services listed out here. Click on Active beside your hosting package
  3. On the menu on the left, click on Login to cPanel
  4. Once logged in to your cPanel control panel, click on the icon for MySQL Databases
  5. In the New Database box at the top of the page, fill in the name for your database
  6. Click Create Database

 

This will create a database for you.

Note that the name of the database will have a prefix based on your hosting account username (e.g. if you fill in mydb and your username is cpuser, your database will be named cpuser_mydb).

In order to connect to the database, you will also need to set up a database user and add this to the database.

If you have any questions on the above, please do not hesitate to 'Open a Ticket' and we will be happy to advise further.

  • #database, #user, #create, #add, #cpanel
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I allow remote access to my MySQL database?

To allow remote access to your database, you will need to do this via the cPanel control panel....

How do I create a database user and add it to a database?

Some types of websites (for example WordPress) work with a database to store you content and...

How do I backup MySQL databases in cPanel?

To download a backup of your database, you will need to do this via the cPanel control panel....

How can I import my MySQL database to my hosting account?

To import an SQL file into a MySQL database, please see the following steps. Please note that...

How do I export my database from cPanel

If you wish to export your database from your cPanel hosting account (for the purposes of backups...