Cannot create PoolableConnectionFactory (Could not create connection to database server.)

Cannot create PoolableConnectionFactory (Could not create connection to database server.)

After trying a variety of methods found to be due to the mysql driver version too low cause.

When the error, jmeter version 3.1, jdk version is 1.8, mysql version is 8.0.11, mysql-connector-java version is 5.1.31, and later the mysql-connector-java replaced by the latest version of mysql-connector-java-5.1. after the 46-bin.jar, run successfully.
mysql-connector-java-5.1.37- bin.jar is used to connect to the database in java development package
Download Links: https://blog.csdn.net/weixin_41831619/article/details/79914307
MySQL-Connector-java-5.1 click on the link to open the .46-bin.jar

Guess you like

Origin blog.csdn.net/weixin_44174536/article/details/91397207