Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to setup ? #13

Open
NaheelSalman opened this issue Sep 30, 2020 · 4 comments
Open

How to setup ? #13

NaheelSalman opened this issue Sep 30, 2020 · 4 comments

Comments

@NaheelSalman
Copy link

First of all i setup my eclipse
and download mysql
after that i bring that project in eclipse
then i add library of "mysql-connector.jar"
But still when i run this program i got errors of mysql jdbc
Please write how to setup your program locally in our machine
@sadatrafsanjani

@sadatrafsanjani
Copy link
Owner

sadatrafsanjani commented Sep 30, 2020 via email

@NaheelSalman
Copy link
Author

Would you like to give me location of
connection String where did you write the connection string
in which java file

@NaheelSalman
Copy link
Author

I have also set the mysql database with inverntory.sql
inventory
but however its still failed
mysql server admin = root and pass=root
INFO: HCANN000001: Hibernate Commons Annotations {5.0.1.Final} Nov 04, 2020 2:11:58 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!) Nov 04, 2020 2:11:58 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator INFO: HHH10001005: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql://localhost:3306/inventory] Nov 04, 2020 2:11:58 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator INFO: HHH10001001: Connection properties: {user=root} Nov 04, 2020 2:11:58 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator INFO: HHH10001003: Autocommit mode: false Nov 04, 2020 2:11:58 PM org.hibernate.engine.jdbc.connections.internal.PooledConnections <init> INFO: HHH000115: Hibernate connection pool size: 20 (min=1) Wed Nov 04 14:11:59 PKT 2020 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification. Nov 04, 2020 2:12:00 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl stop INFO: HHH10001008: Cleaning up connection pool [jdbc:mysql://localhost:3306/inventory]

@MonssifEchadli
Copy link

connection Str

Did you find a solution for this ? i got the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants