Impor database melalui baris perintah
mysql -u username -p database_name < file.sql
Funny Fish
mysql -u username -p database_name < file.sql
mysql> use db_name;
mysql> source file_name.sql;
mysql -h localhost -u username databasename < dump.sql
mysql -h localhost -u root txlabzco_skyphones_phase2 < C:\Users\user\Documents\txlabzco_skyphones_phase2.sql
mysql> create new_database;
mysql> use new_database;
mysql> source (Here you need to import the path of the SQL file);
E.g.:
mysql> source E:/test/dump.sql;