Re: MySQL and SVN
| From: | Emil Edeholt | Date: | Thu, 25 Oct 2007 14:07:49 +0000 |
| Subject: | Re: MySQL and SVN | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263661@lists.php.net to get a copy of this message | ||
Hi,
Thanks for your answer. Are you sugesting - what I think is called - a multi-master replication? Since I would like to keep two sources in sync and want to be able to make changes on both servers. I know very little about replication. Maybe I'm making a bigger problem of this than it would have to be.
Best Regards Emil
dordea cosmin wrote:
consider replication Emil wrote:
I would like to know how you guys handle mysql structures between different computers (and for that matter from the developer desktop to the stable server). I work on my home and my office computer with the same php projects. I keep all my php files on svn, so I just update and commit the first and last thing I do when I switch computer. The problem is when I've made a change in the structure of my mysql tables. I usually try to save a dump and ssh it to my server and download and import it on the other computer. But that feels clumsy, and if I've made changes on both computers I have no simple way to merge the structures like I can in svn.