JMeter connection MySQL Database error cannot create poolableconnectionfactory (Could not create connection to database server.)

Source: Internet
Author: User
Tags mysql version

Today you are learning JMeter's JDBC sampler and find that after configuring the JDBC Connection configuration and JDBC request, click Run. To display the response data in the View results tree:

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

After trying several methods, it was found that the MySQL driver version was too low to cause.

When an error occurs, My JMeter version is the 3.1,JDK version is the 1.8,mysql version is the 8.0.11,mysql-connector-java version is 5.1.31, and later changed Mysql-connector-java to the latest version mysql-connector-java-5 After the. 1.46-bin.jar, the operation succeeds.

JMeter connection MySQL Database error cannot create poolableconnectionfactory (Could not create connection to database server.)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.