It is installation specific, but if you've /var/lib/mysql , then:
- MyISAM tables will be stored in individual files in /var/lib/mysql/
databasename
/
- InnoDB resides in /var/lib/mysql/ibdata (unless you've used the innodb_per_table setting, in which case it's stored much like for MyISAM tables)