Like many people, when I first started working with WordPress I used MAMP for my local development environment, but I also used multiple machines which can cause issues when I have different databases. Luckily it’s pretty simple to sync MAMP databases via Dropbox.
First of all move your databases from:
To somewhere in Dropbox, for example:
Now add a symlink from MAMP to Dropbox: