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