title: How to start MySql using ANT task
body: <p>I need to start and stop mysql 5.5 using ant task.</p>
  
  <p>The earlier ANT script was doing it for hsqldb database for which the class it was using was <code>org.hsqldb.Server</code>. Could someone tell me which class to use for mysql 5.5.</p>
  
  <p>Following was being use in case of hsqldb for mydb:
          <code>&lt;java fork="true"  spawn="true" classname="org.hsqldb.Server" classpathref="build.runtime.classpath"&gt;
              &lt;arg  line="-database.0 file:data/mydb -dbname.0 mydb"/&gt;
          &lt;/java&gt;</code></p>
  
  <p>I need to have the eqivalant for mysql 5.5. I know a connector is used to connect to mysql 5.5 database, I use <code>mysql-connector-java-5.1.15-bin.jar</code>.</p>
  
  <p>Could someone just tell me how to start and stop mysql database using an ant script.</p>
  
  <p>Thanks.</p>