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