Normally MySQL data will store in /var/lib/mysql, but still you want to check the the location of your database then you can follow below steps:
You can use below command to find the location of data directory:
mysql -e "show variables like 'datadir'"
You can get the directory for MySQL with...