I am working on some PHP projects (Wordpress mostly) with MySQL databases and primarily use my Windows Desktop to do the work on whilst running Xampp.
This all works great until I need to take my work on my mac via my usb hardrive. I copy my files from my windows machine on to my USB external and then I go to my macbook and fire up my USB hardrive. What I need is for my Xampp to just pick up from where I left off at my Windows Desktop, I'm just wondering if this achievable? Or if I'm going the wrong way about it?
What I tried today was changing the document root of httpd.conf to my USB files directory. This actually worked great, it showed all my sites, except I was getting MySQL errors. I did however copy them across, but windows and mac Xampp are different where they store these databases it seems. Mac is in the var folder of Xampp and the Windows xampp databases are elsewhere.
I could do this the manual way of each time I go from my Windows machine > Macbook I could copy the files and drag the exported databases with me, but this is time consuming for every time I just want to quickly move from one machine to the next.
What I'm essentially asking if there is a way to solve my above problem about moving from Windows Desktop to Macbook on a USB external hardrive in the quickest way possible.
Any insight would be great and I'm open to suggestions that people use in my situation.