Failed connect to DB (MariaDB)

abakus76's Avatar

abakus76

09 Feb, 2017 07:54 AM

Hello everybody,

Question 1:
I use Linux and the MySql Database.
I wrote my data in the document jbilling-DataSource.groovy.

Comment this part of config:
dialect = "org.hibernate.dialect.HSQLDialect"
    driverClassName = "org.hsqldb.Driver"
    username = "sa"
    password = ""
    url = "jdbc:hsqldb:file:hsql/localDB"

And add this part:
driverClassName = "com.mysql.jdbc.Driver"
username = "username"
password = "password"
url = "jdbc:mysql://localhost:3306/jbilling_test "

MySQL Connector is - /lib/mysql-connector-java-5.1.40-bin.jar
I'am create data base "jbilling" with script: jbilling-schema-.sql and jbilling-data.sql

Then i started startup.sh
But in the browser failed to appear Jbilling, only message:
"R���
5.5.52-MariaDB�Š��'Yl5`cRP�ÿ÷� ����������y45Mc)AM>.lV�mysql_native_password�!��ÿ„#08S01Got packets out of order"

My Tomcat is running.
Have you a Idea what's my mistake is?

Question 2:
How can i tranfer data to jBilling from remote source? API?
I want transfer data from Slurm Workload Manager to Jbilling

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

 

27 Aug, 2018 06:50 PM
19 Aug, 2018 04:13 PM
19 Aug, 2018 04:04 PM
17 Aug, 2018 03:46 PM
12 Aug, 2018 06:10 PM
18 Jul, 2018 03:01 AM