import sql from terminal

mysql -u root -p table < db.sql
Advertisements