Follow the following steps to Import Databases using SSH
- Log in to SSH.
- From the command line, you can import the SQL file with the following command:
MySQL -u database_username -p database_name < /path_to_database/database_file.sql
Change database_username
with the username of the database
Change database_name
with the name of the database
Change /path_to_database/database_file.sql
with the database file to be imported