Where i find and download this jar file com.mysql.jdbc.GoogleDriver?

user2963481 11/07/2013. 1 answers, 6.116 views
java jdbc classnotfoundexception google-cloud-sql google-cloud-sql

I am working with Jdbc and CloudSql I followed this tutorial https://developers.google.com/appengine/docs/java/cloud-sql/ when i Load this class com.mysql.jdbc.GoogleDriver by using class.forName("com.mysql.jdbc.GoogleDriver");

I got

ClassNotFoundException 

any one tell me where i download this jar?

1 Comments
user2963481 11/07/2013
I added this Jar in my classpath mysql-connector-java-5.1.27-bin.jar

1 Answers


Tony Tseng 11/08/2013.

You'd use the com.mysql.jdbc.GoogleDriver driver only when running your application on AppEngine.

Is that the case? If so, have you enabled mysql connector/j per https://developers.google.com/appengine/docs/java/cloud-sql/#Java_Connect_to_your_database?

If you're running your application locally, you'd want to use the stock mysql driver.

2 comments
matanster 03/14/2016
Admittedly a little vague what does that driver do any differently, as opposed to or in addition to what the stock driver (which is used for accessing the cloud database from a local machine) does.
displayname 06/05/2016
Any idea why I'm getting this exception after deployment? stackoverflow.com/questions/37644148/…

Related questions

Hot questions

Language

Popular Tags