I agree with sebb as what ankush is saying about restarting Jmeter i did that like 50 times. The issue only resolved after following the convention that i didn't notice at first.
On Fri, Jan 24, 2014 at 5:34 PM, sebb <[email protected]> wrote: > On 24 January 2014 08:46, ankush upadhyay <[email protected]> > wrote: > > Great but i dont think so it is case sensitivity issue because both the > > strings worked for me. > > Are you 100% sure? It seems extremely unlikely. > > The string is the Class name of the driver; by convention all Java > package names are lower case and class names have an initial capital > letter. > > So "com.mysql.jdbc.driver" is not a conventional Java class name, > whereas "com.mysql.jdbc.Driver" does follow the convention. > > > I had also faced same issue but after restarting > > jmeter it worked because jdbc driver loaded that time. > > > > > > On Fri, Jan 24, 2014 at 1:20 PM, charan sethi <[email protected] > >wrote: > > > >> The issue is resolved. It was a case-sensitivity issue. I just had to > >> change. > >> > >> JDBC Driver Class: com.mysql.jdbc.driver > >> > >> *To*: > >> > >> JDBC Driver Class: com.mysql.jdbc.Driver > >> > >> > >> > >> On Fri, Jan 24, 2014 at 12:40 PM, charan sethi <[email protected] > >> >wrote: > >> > >> > Hi ankush i have already done that many times. No luck > >> > > >> > > >> > On Fri, Jan 24, 2014 at 12:19 PM, ankush upadhyay < > >> > [email protected]> wrote: > >> > > >> >> Hi charan sethi, > >> >> > >> >> Please put mysql connector into lib directory and then start jmeter > >> again. > >> >> > >> >> > >> >> On Fri, Jan 24, 2014 at 12:04 PM, charan sethi < > [email protected] > >> >> >wrote: > >> >> > >> >> > 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 > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> ------ > >> >> Regards > >> >> @Ankush Upadhyay@ > >> >> > >> > > >> > > >> > > > > > > > > -- > > ------ > > Regards > > @Ankush Upadhyay@ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
