Reputation: 145
I am configuring JDBC Connection in jmeter 2.8. I am using MySQL database. And also placed mysql-connector-java-5.1.24-bin.jar
in jmeter /lib
directory.
Problem is when i run the sampler it gives a message
No suitable driver found for jdbc:mysql://localhost:3306/Testing
in Response data tab in Results Tree. I am using Ubuntu OS. Can any one help me out?
Upvotes: 2
Views: 4154
Reputation: 515
The point 2 is essential here:
"Second. Make sure that you have MySQL JDBC Driver aka Connector/J in JMeter's classpath. If you don't - download it, unpack and drop mysql-connector-java-x.xx.xx-bin.jar to JMeter's /lib folder. JMeter restart will be required to pick the library up"
Please be sure that .jar file is added directly to the lib folder.
Upvotes: 0
Reputation: 167992
mysql-connector-java-x.xx.xx-bin.jar
to JMeter's /lib folder. JMeter restart will be required to pick the library upThird. Make sure that you provide correct "JDBC Driver Class" in JDBC Connection Configuration. It should be
com.mysql.jdbc.Driver
Upvotes: 4