Import SQL file into mysql database:
1. login into your mysql client by command line:
mysql -uroot -p [hit enter] and [give password]
2. Create database be below command:
create database name_of_your_datebase;
3. Select your database by below command:
use name_of_your_database;
4. Import command:
source path_of_your_sql_file;
No comments:
Post a Comment