add mysql to path with xampp code example
Example 1: run mysql xampp shell
mysql -u root mysql
Example 2: how to connect to xampp sql server on windows cmd
cd c:\xampp\mysql\bin
mysql.exe -u root --password
mysql -u root mysql
cd c:\xampp\mysql\bin
mysql.exe -u root --password