Creating a MySQL database

Many different types of software available for your web hosting account require the use of a MySQL database to function correctly, including WordPress, phpBB, and many others. You can easily create a new database from cPanel.

Please note that this process is only required if you are manually installing software, or you require MySQL for your own development project. Our automatic script installer, Softaculous, will automatically create a MySQL database for you, without any further action required.

x10Hosting Basic

Firstly, please select the "Databases" button in the navigation bar, and click the "Add MySQL database" button.

Name your database, and choose "Add Database". Your database name will be automatically prefixed with your cPanel username.

To the right of your newly created database, please click the cog, and choose "Manage Users".

Click the "Add User to Database" button. You will then be able to create a new user, which your software will use to authenticate with MySQL.

You will be asked what permissions you would like to grant to your MySQL user. In most cases, checking "Grant All Privileges" will suffice.


cPanel x3

Firstly, please sign in to cPanel, and select the "MySQL Databases" icon.

You can then create a new database. Your database name will be automatically prefixed with your cPanel username, as shown below.

Before you can use your new database, you will need to create a MySQL user, which your software will use to authenticate with MySQL.

Finally, you will need assign your newly-created MySQL user to your database.

You will be asked what permissions you would like to grant to your MySQL user. In most cases, checking "All Privileges" will suffice, as shown below.

Was this article helpful?