How to import MySQL .sql file in command line By cloudnthings | July 25, 2020 0 Comment Once you have logged in, the command is quite simple. mysql> use db_name; mysql> source file_name.sql;