Quick Help

Knowledgebase is a categorized collection of answers to frequently asked questions (FAQ) and articles. You can read articles in this category or select a subcategory that you are interested in.

 How to Import A MySQL Database through SSH?


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:

mysql -u db_username -p db_name < /home/username/public_html/dumpfile.sql

Enter password:

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

Was this article helpful? yes / no

Article details

Article ID: 42

Category: MySQL Basics

Views : 45

Rating (Votes): Article rated 3.3/5.0 (7)

Powered by Help Desk Software HESK, in partnership with SysAid Technologies