xampp open mysql console code example Example: command line mysql xampp cd c:\xampp\mysql\bin mysql.exe -u root --password