Where is my MySQL database?

I am on a MacBook and using MAMP.

When I create a database using phpMyAdmin, where is the MySQL database physically located on my laptop? :-\

Thanks,

TomTees

In windows, using xampp or usbwebserver or simialr, all the server bits are in the one folder, one of which is called apache, and another is called mysql.

In the mysql folder there is a data folder, and in that are folders for each database. inside each folder are its files.

If MAMP is creating an apache server type thingy, that’s the sort of folder structure you’ll find where ever you let MAMP put its bits.

It turns out it is under Applications in the MAMP folder…

/Applications/MAMP/db/mysql/sitename/

TomTees