Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Unable to perform a JDBC request for phpmyadmin database (No suitable driver found for jdbc:mysql://localhost:3306/ck)

$
0
0
Hi All

I am unable to perform a JDBC request to databse in phpmyadmin. I'm using
Xampp just to learn how to perform a JDBC request using Jmeter.

This is the configuration i have used in the JDBC confif element(Jmeter
version is 2.10)
variable name: mydb
JDBC URL:jdbc:mysql://localhost:3306/ck where ck is the name of the database
JDBC Driver Class: com.mysql.jdbc.driver
Username: c
Password: c

the user has all privileges on the database.

I have set the same variable name in JDBC request and using a simple select
query select * from table1

But when i run the test i get the following error
No suitable driver found for jdbc:mysql://localhost:3306/ck

I have already extracted the JDBC driver for mysql in the lib folder
mysql-connector-java-5.0.8-bin

This is the Driver.

Is there something i am missing. the java version i am using is
1.7.0_45-b18?

Thanks
Charan

Viewing all articles
Browse latest Browse all 5648

Trending Articles