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!

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="">