2014-04-24 43 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已打開。

回答