for db schema updates: have a look at sqitch by postgres' david wheeler. it should also support mysql (or will in the future).