xampp sql file code example Example: xampp import sql file command line C:\xampp\mysql\bin>mysql -u {DB_USER} -p {DB_NAME} < path/to/file/ab.sql