How do I import a database using Telnet/SSH?

If you have SSH access, you can use the following command to import your database.

mysql -u username -p password database_name < /path/to/your/mysql_data.sql

  • 188 Users Found This Useful
Was this answer helpful?

Related Articles

How do I create MySQL databases?

Please follow the steps below to create MySQL databases Go to MySQL Manager in your Control...

How do I connect to the MySQL database remotely?

To connect to your MySQL database remotely, you will need to log into your control panel and go...

How do I import a database using phpMyAdmin?

To import your MySQL database, you can use phpMyAdmin which is available in your control panel....

How do I backup/export my database?

To export your database, you can use PHPMyAdmin which is available in your control panel....

Powered by WHMCompleteSolution