Solution 1: Unify the folder data of XAMPP on Ubuntu and Windows. Both of the operating systems point to the same folder. See more details in the following post:
Solution 2: Install a mini Linux distribution such as Slitaz, Alpine, etc. that plays a role of a dedicated server. Of course, it will operate like a virtual server using VMWare or Oracle VirtualBox. After that, we set up MySQL server into this server. In the case of using SQL Server, Windows XP is a suitable choose. But we must face to the problem of copyright as well as license. See more details in the following link:
Solution 3: Run a portable XAMPP on USB or External HD. The problem is that how can we do the same version.