Question: where are mysql databases stored?
Answer: All MySQL databases are stored in corresponding directories inside a MySQL DATADIR directory, which is specified in a configuration. E.g. myExampleDB's files would be stored inside '$DATADIR/myExampleDB' directory. And according to this result, database files would be stored inside /var/db/mysql/%DB_NAME% directory.