java配置mysql的配置文件jdbc.properties报错
disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificat
解决方案
在url配置最?autoReconnect=true&useSSL=false
代码示例:
driver=com.mysql.jdbc.Driver
# url=jdbc:mysql://localhost:3306/mybatis
url=jdbc:mysql://localhost:3306/mybatis?autoReconnect=true&useSSL=false
username=root
password=123456