Knowledge base Contact support
Websites and WordPress

Create a database

Create a MySQL database and user in cPanel for WordPress or another web app, and import an existing database.

Updated 1 min read

Most web apps, including WordPress, store their content in a MySQL database. The WordPress installer creates one for you. Create one yourself when you set up an app by hand or move a site.

Create the database and user

  1. Open cPanel. See Open cPanel.
  2. In the Databases section, open MySQL Database Wizard.
  3. Name the database and continue.
  4. Create a database user with a strong password and continue.
  5. Give the user All Privileges and finish.

Write down the full database name and username. cPanel adds your account name to the front, like account_dbname. Your app needs these, the password, and localhost as the database host.

Import an existing database

  1. In the Databases section, open phpMyAdmin.
  2. Select your new database on the left, then Import.
  3. Choose your .sql file and select Import (or Go).

Was this guide helpful?

Still stuck? Contact support and tell us what you tried.