2014-04-24 40 views
0

我想通过Jmeter做到MySQL服务器的ssl连接。Jmeter:无法连接到ssl启用MySQL服务器通过jdbc连接配置与useSSL = true

MySQL服务器是SSL启用并在JMeter的JDBC连接配置 - 数据库URL被配置为:

jdbc:mysql://<DBIP>:3306/mysql?verifyServerCertificate=false&requireSSL=true&useSSL=true 

返回的响应是:

Response message: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure 

The last packet successfully received from the server was 5 milliseconds ago. The last packet sent successfully to the server was 5 milliseconds ago. 

错误屏幕附着ssl connection。 任何人都可以帮我解决这个问题吗?我缺少任何配置?

我能够使用“useSSL = false”进行非ssl连接,因此MySQL服务器可到达并且端口3306已打开。

回答