php - Downloading SQL schema for SVN in Eclipse -


I develop a PHP application in Eclipse and I wonder, there is an easy to download my MySQL schema in a specific folder. The method is so that when I commit to SVN then it has been included?

EDIT: I am using phpMyAdmin to export my schema. I am just thinking that if I can automate this phase in eclipse.

Create a small script that contains:

  mysqldump - someone Data DBNAME & gt; /path/to/your/file.sql  

and run before doing it (svn support client based hook?)


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -