To sync your database you will need to move the MAMP db folder to OneDrive and then create a symbolic link in the MAMP folder back to the db folder in the OneDrive. Before starting make sure your MAMP servers are turned off, then open up terminal and enter: Continue reading
Syncing MAMP MySQL database with cloud – OneDrive, Dropbox
1