Command not found error shown when the mysql.exe path is not set in environmental variables as PATH or you do this by set the path from cmd 1. open cmd 2. set mysql path in cmd >set path=c:wampinmysqlmysql5.6.17in Now you can check mysql commands