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