how to source an sql file into an existinf database code example Example: mysql import sql file mysql -u username -p database_name < file.sql