JBoss Community

Re: Changing from H2 database to MSQL database

created by gvino in jBPM - View the full discussion

Hi tmmaluleke,

 

This is what I did:

1. modified those xml files which mentioned on the Chatper3.Installer http://docs.jboss.org/jbpm/v5.3/userguide/ch.installer.html

http://docs.jboss.org/jbpm/v5.3/userguide/ch.installer.html2. copied "mysql-connector-java-5.1.22-bin.jar" to jbpm-installer\db\driver folder
3. ant clean.demo

4. ant install.demo.db

5. after that, I can't find mysql folder in jbpm-installer\jboss-as-7.0.2.Final\modules\com

     there are only "google", "h2" , "sun" three folder.

 

I found following that in build.xml

 

line17:

<property name="mysql.download.url"

value="https://repository.jboss.org/nexus/service/local/repositories/central/content/mysql/mysql-connector-java/5.1.18/mysql-connector-java-5.1.18.jar" />

 

line43:

<!-- Download JDBC driver jar (MySQL is default)-->

  <property name="db.driver.jar.name" value="mysql-connector-java.jar" />

 

 

Am I need to change them to "mysql-connector-java-5.1.22-bin.jar" ??

Thanks.

Reply to this message by going to Community

Start a new discussion in jBPM at Community