orion知识

 找回密码
 立即注册
搜索
查看: 2077|回复: 2

连接mysql的问题

[复制链接]

2

主题

4

帖子

36

积分

新手上路

Rank: 1

积分
36
发表于 2020-7-30 20:23:45 | 显示全部楼层 |阅读模式
我通过Database的通讯点配置mysql数据库。在点击“Edit Configuration”的时候,报如下错误:

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.


查了一下,需要加入useSSL=false。然后我在“Addtional Connection Properties”里面加入useSSL=false,还是报错,是什么原因?

回复

使用道具 举报

2

主题

4

帖子

36

积分

新手上路

Rank: 1

积分
36
 楼主| 发表于 2020-7-30 20:41:53 | 显示全部楼层
知道怎么弄了,进去Database Configuration Editor界面,在里面有个Database,双击它会弹出一个对话框,显示数据库配置连接的信息,在连接的URL里面的最后加入?useSSL=false
回复

使用道具 举报

2

主题

4

帖子

36

积分

新手上路

Rank: 1

积分
36
 楼主| 发表于 2020-7-30 21:27:14 | 显示全部楼层
但是每次进去Database Configuration Editor界面都还是会报错,每次都需要怎么操作一次
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|orion知识 ( 浙ICP备20002629号 )

GMT+8, 2024-9-8 10:46 , Processed in 0.094843 second(s), 18 queries .

快速回复 返回顶部 返回列表