To import sql file into existing database use the code below mysqldump -u[username] -p[password] [database_name] > [file.sql]
Tag: sql
Import SQL File into MYSQL Database Using Command Line
To import sql file into existing database use the code below mysql -u[username] -p[password] [database_name] < [file.sql]