Sure. But where it is depends on the package you have chosen to install MySQL. Have a look at this SO answer for different options. /usr/local/mysql/ and /usr/local/var/mysql/ are usual locations.
Where are MySQL databases stored locally?
Typically, MySQL will store data in the default directory of /var/lib/mysql.
Is MySQL local or cloud?
Cloud SQL for MySQL is a fully-managed database service that helps you set up, maintain, manage, and administer your MySQL relational databases on Google Cloud Platform. For information specific to MySQL, see the MySQL documentation or learn more about Cloud SQL for MySQL.
Where do MySQL databases live?
MySQL stores DB files in /var/lib/mysql by default, but you can override this in the configuration file, typically called /etc/my.