Keeping MySQL databases in a Dropbox

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Keeping MySQL databases in a Dropbox

Postby psavas » 22. March 2011 04:25

I do development on multiple computers, and on OSX as Well as Windows. Is there any way to put my databases in my Dropbox folder, and allow Dropbox to keep the files on each computer up to date so that I don't have to manually recreate my databases on each computer I work on?

Thanks,
pete
psavas
 
Posts: 3
Joined: 22. March 2011 04:16

Re: Keeping MySQL databases in a Dropbox

Postby Sharley » 22. March 2011 05:34

If you relocate your databases then you would need to change the settings in the \xampp\mysql\bin\my.ini file under the section [mysqld] item datadir="" so the server knows where to look for them.
There is also a reference to the datadir under the innodb section which also may be required to be taken into account.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Keeping MySQL databases in a Dropbox

Postby psavas » 28. March 2011 10:40

Thanks for that information; I will give it a shot. Would you happen to know where that configuration file would be on the OSX installation of XAMPP?

pete
psavas
 
Posts: 3
Joined: 22. March 2011 04:16


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 116 guests