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