How to dump a Mysql database with ANT?
Hello!I would like to know if possible and how to dump a database through ANT.
I seems to be able to import a dump with ANT with a build.xml like:
<target description="Creates the database" name="create">
<sql classpath="mysql-connector-java-3.0.15-ga-bin.jar"
driver="com.mysql.jdbc.Driver"
src="create.sql"
url="jdbc:mysql://localhost:3306/?autoReconnect=true"
userid="root"
password="password"/>
</target>
Best regards
Fredrik