connection to Database Mysql

Caroline's Avatar

Caroline

13 Nov, 2013 03:54 PM

Hello everybody,

I use Linux and the MySql Database.

I wrote my data in the document jbilling-DataSource.groovy .After I started Jbilling startup.sh
But in the browser failed to appear Jbilling, only the error HTTP Status 404 . My Tomcat is running.
Have you a Idea what's my mistake is?

regards Caroline

  1. Support Staff 1 Posted by Technical Suppo... on 02 Dec, 2013 12:18 PM

    Technical Support's Avatar

    Hello Caroline,

    Comment out the configuration for Postgres databse & have the below configuration for MySQL database connection in jbilling-DataSource.groovy file.

    //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 "

    Regards,
    jBilling Techanical Support Team.

  2. Support Staff 2 Posted by Technical Suppo... on 07 Jan, 2015 05:33 PM

    Technical Support's Avatar

    Dear user,

    Please make sure if you have added mysqlconnector.jar file into lib folder, this will be required for connection to mysql db, then try to start the application.

    Hope this answers your question!
    Let us know if we can help you with anything else. If you have any query you can raise it as another issue.
    Closing this issue.

    Regards,
    jBilling Technical Support Team

  3. Technical Support closed this discussion on 07 Jan, 2015 05:33 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac