Most website software, including WordPress, stores its content in a MySQL database. If you install WordPress with the App installer, the database is created for you. For anything else, create it yourself.
Create a database
- Open your hosting service in the client area and choose the Databases tab.
- Type a short name for the database, using lower-case letters, numbers and underscores.
- Click to create it.
We create the database and a user with full rights to it, and show you the database name, the user and a password. Copy the password straight away: it is shown only once.
Your account name is added to the front of the names, so shop becomes something like youraccount_shop. Use the full names in your website's settings.
Connect your website
Use these details in your website's configuration file (for WordPress, wp-config.php):
- Database name and user: as shown when you created them.
- Password: the one you copied.
- Host:
localhost.
Import or manage the data
To import a .sql file from your old host, or browse tables, log in to cPanel from your service page and open phpMyAdmin. Choose your database on the left, then Import.
Forgot the password?
You can set a new password for the database user in cPanel under MySQL Databases. Remember to update it in your website's settings too.