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

泄露秘密 提交于 2019-12-11 06:26:24

问题


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:


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.



来源:https://stackoverflow.com/questions/19829110/where-i-find-and-download-this-jar-file-com-mysql-jdbc-googledriver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!