Web Hosting News, Web Hosting Tips, Web Hosting Tutorials and FAQ by AwardSpace.com
AwardSpace Blog » Page 'How to import MySQL Database over SSH?'

How to import MySQL Database over SSH?

Answer:

1. First upload your .sql file inside your account.
2. Create SSH access using the SSH Manager, then SSH your account.
3. Using SSH go inside the folder where your .sql file is and run the following command:
mysql <DB> -h <HOST> -u <USER> -p <PASS> < file.sql

Comments are closed.

Top of page / Subscribe to new Entries (RSS)