Keeping MySQL data files under svn

2009-04-22 Thread Brontojoris
While putting the actual db files is not a good idea, putting the scripts used to generate the databases, tables, indexes, triggers etc, can be very useful. Most GUI tools will let you save a script version of any changes you make to a database.

Re: Keeping MySQL data files under svn

2009-04-15 Thread stoptime
Thanks all - I had a hunch this was a bad idea, and would never do this with a production database anyways ;) I just got the idea because I've successfully restored these files from backup before. Will probably do a python script to automate the dumps to a folder that gets .svn'd. Cheers!