I have a database in MySQL that I am currently developing. I have a copy of this database on my development machine which I modify as fast as I develop and a copy on a test server. My question is:
Is there a way to compare the two instances of the database to see if there was any changes?
Its not a real problem to simply re-deploy the database on the test server but as the end user's start entering test data it could be a bit tricky. A related question is also relevant a little later on in production...
Is there an easy way to incrementally make changes to the production database? That is, suppose I add one new table and modified one existing table, are there tools that will detect the changes and generate scripts that will safely perform the updates on the production copy of the database?
EDIT: Tools mentioned in the answers: