mysql连接警告:如何将ssl设置为:SSL=true

论坛 期权论坛 脚本     
匿名技术用户   2020-12-22 04:31   22   0

具体WARN:
Thu Oct 18 14:45:13 CST 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 verifica

设置useSSL=true
找到properties 文件,在url后添加:?characterEncoding=utf&&useSSL=true
在这里插入图片描述

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP