mysql import sql file external database code example Example: insert mysql ifile nto database mysql -u username -p database_name < file.sql