Database Creation

< 1 min read

Updated on August 26, 2026

Create a database

You can create a MySQL database from the Databases section of cPanel. The wizard creates a user for you automatically, so in most cases there is nothing else to set up.

Steps #

  1. Log in to cPanel and open MySQL Databases.
  2. Enter a name for the database and click Create Database.
  3. A user and password are generated automatically. Copy them somewhere safe before you leave the page, because the password is not shown again.
  4. Use these details in your application, for example in wp-config.php for WordPress.

Things worth knowing #

  • The database name and the username are the same by default.
  • If you need an additional user, create one further down the same page and then add it to the database with the privileges you want.
  • Database host: on most of our servers this is localhost. If your database runs on a separate database server, localhost will not work. The correct hostname is shown in the server details table on the same page, so always check there rather than assuming.

cPanel database creation screen