In linux I could find the mysql installation directory with the command which mysql. But I could not find any in windows. I tried echo %path% and i
which mysql
echo %path%
Output on Windows: you can just use this command,it is very easy!
1. no password of MySQL:
mysql ?
2. have password of MySQL:
mysql -uroot -ppassword mysql ?