Follow these steps to Import the database Mysql (Putty Terminal).
1. Login to your putty terminal.
2.You need to login in to Mysql, for this type
mysql -u username -p and Press Enter, Now type Your password and Hit Enter.
3.Now you logged in to Mysql,type command
show databases;
that will display all database list and to select the your database type command:
use database_name;
and press Enter.
4.Now for selecting file to import use command:
source path/to/sql/filename.sql and press Enter.
wait till complete and your database is imported.
Thanks.
- Log in to post comments