I am unable to run MySQL through command line on windows 10. I have MAMP PRO 4.0.1 installed. I tried running "/Applications/MAMP/bin/MySQL -u root -p " from the command line, but I get an error stating "The system cannot find the path specified". I have added the path of MAMP to the environment variable, still, I am unable to run MySQL
You should add PATH environment variable like "C:\MAMP\bin\" and then open new command prompt after that try below command
mysql -uroot -p