how to import file into database mysql code example Example: mysql load sql from file mysql> use db_name; mysql> source file_name.sql;