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%
Use bellow command from CLI interface
[root@localhost~]# mysqladmin variables -p | grep datadir