import a sql file in a folder in mysql windows code example Example: mysql import sql file mysql -u username -p database_name < file.sql