You are Here: FAQ ->Web Space & Access->Secure Shell Access (SSH)->Article #8


How to import a database to MySQL using SSH


Please access the following information from your Control Panel:
MySQL Host Name:
User name:
Password:
Database Name:

Follow the instructions in FAQ: Where can I find the necessary
information to connect to MySQL Database?


To import a MySQL dump, first upload the dump file to your web space via FTP.
Once the file is in your web space, please login to your shell account via SSH and
run this command:

myShell:~ > mysql -h dbxx.perfora.net -u dboxxxxxxxx -p dbxxxxxxxx < dump_file.sql
Enter password:
mysql>


Please replace this information with the MySQL login data shown in your
Control Panel.

SW3B404


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5