Skip navigation
Knowledge Base    Hosting    Hosting Migration: Uploading databases

Uploading databases

Last Updated: Jan 11, 2022

If you are switching your hosting to us, depending on what website builder you are using, you may need to upload databases to your new hosting plan. We commonly see people uploading databases as part of the process of migrating WordPress sites to our hosting.

If you are migrating a WordPress database, the first thing you need to do is go into your hosting and check the wp-config.php file. This file will list the database name, username, and password that you will need to set-up later.

Once you have this information, follow these steps to upload the database:

  1. Log into cPanel and scroll down to the Databases section. Click on MySQL Databases.
  2. Enter the database name in the New Database field and click Create Database.
  3. Under MySQL Users, enter the username and password.
  4. Click Create User.
  5. Under Add a User to a Database, select the correct user and database, then click Add.
  6. On the next page, check all the boxes for All Privileges and click Make Changes.
  7. Go back to the main cPanel (you can do so by clicking Hosting at the very top of the page) and click phpMyAdmin.
  8. Click the hosting name in the list on the left.
  9. Click the database name you created.
  10. Click Import at the top.
  11. Click Browse to find the database, and once you have located it, click Go.

If you have any problems with the upload, it may be an issue with the file name. For example, if the database is named user_test, then try renaming the file to just the part after the underscore and add .sql to the end. So our example file, user_test, would become test.sql. This can fix a number of issues.

If you get a database connection error after uploading, you may need to alter the wp-config.php file to make sure information like the username and password match. The part before the underscore is hosting specific and may be different in our hosting and have to be altered to match.


Can't find what you're looking for? Contact our support team now
Open a Support Ticket
Submit a request

Anytime 24/7

Live Chat

Live agent:  12am - 5pm MST every day
Live virtual bot:  5pm - 12am MST every day
Mountain Time, Denver, USA