Syncing MAMP MySQL database with cloud – OneDrive, Dropbox

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:

This will change the directory to your OneDrive folder, then copy the MAMP db folder to OneDrive and remove it from the MAMP directory. Then we have to setup the symbolic link.

Thats it! Now you can simply run MAPM. Use this guide to configure your second synced PC with cloud and happy coding!

  1. Now with the new 4.4 and greater version of MAMP, you can save and load your database and document root on Dropbox (as a backup working from one computer or as a multi-working space from two computers) directly our of the box in its application.

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: