Envoyé par documentation
3.6. Using a different database such as MySQL
You can configure the database that JTrac uses by editing the "jtrac.properties" file that JTrac expects within the "jtrac.home" folder. Note that if JTrac does not find a "jtrac.properties" file in the expected location, JTrac creates a fresh one which is pre-configured for HSQLDB. The contents of this file are as follows:
database.driver=org.hsqldb.jdbcDriver
database.url=jdbc:hsqldb:file:${jtrac.home}/db/jtrac
database.username=sa
database.password=
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.show_sql=false
.....
Given below is a sample jtrac.properties file for MySQL. Using the default "root" user is obviously not advisable from a security point of view and you should try and have a separate user for the database used by JTrac.
database.driver=com.mysql.jdbc.Driver
database.url=jdbc:mysql://localhost/jtrac
database.username=root
database.password=
hibernate.dialect=org.hibernate.dialect.MySQLDialect
hibernate.show_sql=false