What's the best way to store a MySQL database in source control?

Posted by Marplesoft on Stack Overflow See other posts from Stack Overflow or by Marplesoft
Published on 2010-01-14T19:33:23Z Indexed on 2010/04/02 4:13 UTC
Read the original article Hit count: 400

Filed under:
|
|
|

I am working on an application with a few other people and we'd like to store our MySQL database in source control. My thoughts are two have two files: one would be the create script for the tables, etc, and the other would be the inserts for our sample data. Is this a good approach? Also, what's the best way to export this information?

Also, any suggestions for workflow in terms of ways to speed up the process of making changes, exporting, updating, etc.

© Stack Overflow or respective owner

Related posts about mysql

Related posts about database