mysql cli import code example Example: command line mysql import mysql -u username -p database_name < file.sql