2) Upload your SQL file to the server by either using the File Manageror aFTP Client. It does not matter where you upload it, just remember its location as you will need it later in the steps.
3) Login to your server via SSH (or using Putty)
4) Navigate to where you uploaded the .sql file. For example if you uploaded the file to your public_htmlfolder you would run the following command:
5) Use the command below while replacing userna5_dbwith your cPanel username and database name, as well asuserna5_userwith your cPanel user and database user.
6) This will prompt you for a password, here you will enter the password you used when creating the mysql user and attaching it to the database.
Congratulations you have now imported your SQL file into your database!
Important Note: Normal shared hosting plans are unable to use the database import method above.
It's only available for Reseller (WHM), VPS, Cloud Server and Dedicated server clients.
Kindly submit a support ticket to our technical team if you're unable to perform the database import using the SSH method above.