execute sql file mysql command line windows code example Example: mysql cmd command to run mysql.exe –uroot –p