import sql xampp command line in window code example
Example 1: xampp import sql file command line
C:\xampp\mysql\bin>mysql -u {DB_USER} -p {DB_NAME} < path/to/file/ab.sql
Example 2: how to connect to xampp sql server on windows cmd
cd c:\xampp\mysql\bin
mysql.exe -u root --password