Importing an SQL file restores or moves a database. It is the usual step when you move a website to a new hosting account.
1. Log in to your cPanel account.
2. In the Databases section, click on phpMyAdmin.![]()
3. From the navigation tree in the left sidebar, select an appropriate database in which you want to import data using the SQL file.
4. Click on Import.
5. Under File to import, click on Choose File and select SQL file from your computer.
6. Scroll down and click on Import.
If it shows a success message, your SQL has been successfully uploaded.![]()
Before you import
Select the correct empty or target database. Importing into the wrong one can overwrite data, so export a backup first.
If the import fails
Large files can time out. Compress the file as zip or split it, or ask our support team to import it for you.
Take care with databases
Export a copy before you change, repair or delete anything. If your site collects personal information from customers, a careless change can affect data that POPIA expects you to protect.
Frequently asked questions
What file types can I import? phpMyAdmin accepts SQL files and compressed formats such as zip and gzip.
What if the file is too large? Split the file, or contact support to import it from the server side.
Related guides
Need hosting for your database-driven site? See KickHost hosting plans or contact our team.
Found this useful? Share it.
