|
Importing large databases is via a web based utility such as; PHPMyAdmin can sometimes prove to be a challenge. However, luckily there are other ways at making the importing process more streamlined. Using the below step-by-step tutorial, you’ll quickly learn how to restore your MySQL database using SSH. Creating a database within your cPanel Account:
Uploading your .SQL database (via FTP):
How to import the database:
Once logged in, go to the following directory: # cd /home/<your-account-name-here>/
# mysql -u <database_username> -p <database_name> < backup.sql
If you have any further questions pertaining to your cPanel SDI hosting account, please feel free to get in contact our web hosting support team for additional assitance. |
How do I import a cPanel database via SSH? Print
- 1
Was this answer helpful?
Related Articles
How do I export a cPanel database via SSH?
Export A MySQL Database
1. Using SSH, execute the following...
How do I clear the exim sendmail statistics on CPanel / WHM ?
If the size of your eximstats database is getting large ( you can check...
Using suPHP
What is suPHP?
suPHP is a tool for executing PHP scripts with the permissions of their...