tag:jbilling.tenderapp.com,2012-10-15:/discussions/problems/119-install-jbilling-with-mysqljBilling: Discussion 2015-01-07T12:31:43Ztag:jbilling.tenderapp.com,2012-10-15:Comment/281546792013-09-06T09:07:54Z2013-09-06T09:09:16ZInstall JBilling with MySQL<div><p>Dear Morgane,</p>
<p>Open file jbilling-DataSource.groovy that you will find under
/jbilling folder. Please make sure the code that connects to
postgres database is commented/removed or replace it with code that
connects to the MySQL database & then try to start the
application using ./startup.sh from /bin folder.</p>
<pre>
<code>//for Postgres Database configuration.
/*dialect = "org.hibernate.dialect.PostgreSQLDialect"
driverClassName = "org.postgresql.Driver"
username = "jbilling"
password = ""
url = "jdbc:postgresql://localhost:5432/jbilling_test"*/
//for mysql Database configuration
dialect = "org.hibernate.dialect.MySQLDialect"
driverClassName = "com.mysql.jdbc.Driver"
username = "username"
password = "password"
url = "jdbc:mysql://localhost:3306/jbilling_test"</code>
</pre>
<p>Regards,<br>
jBilling Techanical Support Team</p></div>Technical Support