how to import a dump file in mysql code example Example: import dump mysql mysql -u username -p database_name < file.sql