Create a database
Create a MySQL database and user in cPanel for WordPress or another web app, and import an existing database.
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
- Open cPanel. See Open cPanel.
- In the Databases section, open MySQL Database Wizard.
- Name the database and continue.
- Create a database user with a strong password and continue.
- 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
- In the Databases section, open phpMyAdmin.
- Select your new database on the left, then Import.
- Choose your .sql file and select Import (or Go).
Was this guide helpful?
Still stuck? Contact support and tell us what you tried.