Glassfish Keystore Error after adding MySQL Connector

前端 未结 3 1170
难免孤独
难免孤独 2020-12-10 17:01

Working on a school project and attempting to set up a JSF with Glassfish. Went through the motions of installing Glassfish, enabling it in Netbeans, and then installing the

相关标签:
3条回答
  • 2020-12-10 17:36

    enter image description here

    or you can put jdbc:mysql://localhost:3306/Peoples?autoReconnect=true&useSSL=false on URL pr.

    0 讨论(0)
  • 2020-12-10 17:50

    Ran into the same problem, changed the server to Apache, running fine now. The reason I found is I was using Glassfish 4.2.1, and MYSQL 8.0 (Which now has caching_sha2_password) which is not compatible with each other. Either Update your Glassfish version or move to apache

    0 讨论(0)
  • 2020-12-10 17:55

    add useSSL = false in the additional properties

    Example URL:

    jdbc:mysql://localhost:3306/practicas?useTimeZone=true&serverTimezone=UTC&autoReconnect=true&useSSL=false

    0 讨论(0)
提交回复
热议问题