Page 1 of 1

Keeping MySQL databases in a Dropbox

PostPosted: 22. March 2011 04:25
by psavas
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

Re: Keeping MySQL databases in a Dropbox

PostPosted: 22. March 2011 05:34
by Sharley
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.

Re: Keeping MySQL databases in a Dropbox

PostPosted: 28. March 2011 10:40
by psavas
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