记录使用 jmeter 连接数据库的报错

报 Cannot create PoolableConnectionFactory(Communications link failure The last packet successfully received from the server was 0 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago

在 url 连接的后面加上"&useSSL=false",禁用SSL连接,完美解决报错问

完整的Database URL:      jdbc:mysql://数据库地址:数据库端口号/数据库名?allowMultiQueries=true&useUnicode=true&character Encoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false

Logo

一站式 AI 云服务平台

更多推荐