Problem java

sidimohamed - 31 mai 2018 à 01:41
KX Messages postés 16722 Date d'inscription samedi 31 mai 2008 Statut Modérateur Dernière intervention 25 septembre 2023 - 31 mai 2018 à 09:00
Bonjour,
j'ai un problem de eclipse conncte en base de donnees
le probleme est :Wed May 30 20:54:07 GMT 2018 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.
A voir également:

1 réponse

KX Messages postés 16722 Date d'inscription samedi 31 mai 2008 Statut Modérateur Dernière intervention 25 septembre 2023 126
31 mai 2018 à 09:00
Bonjour,

C'est un warning, pas une erreur.

La solution est indiqué dans le message, tu devrais rajouter useSSL=false

Exemple :
jdbc:mysql://localhost/toto?useSSL=false 
0
Rejoignez-nous