我在哪里找到并下载了这个jar文件com.mysql.jdbc.GoogleDriver? [英] Where i find and download this jar file com.mysql.jdbc.GoogleDriver?

查看:99
本文介绍了我在哪里找到并下载了这个jar文件com.mysql.jdbc.GoogleDriver?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在与Jdbc和CloudSql合作,我遵循了本教程 https当我使用class.forName("com.mysql.jdbc.GoogleDriver");

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");

我知道了

ClassNotFoundException 

有人告诉我我在哪里下载这个罐子吗?

any one tell me where i download this jar?

推荐答案

仅当在AppEngine上运行应用程序时,才使用com.mysql.jdbc.GoogleDriver驱动程序.

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

是这样吗?如果是这样,是否已根据 https://developers.google.com/启用mysql连接器/j appengine/docs/java/cloud-sql/#Java_Connect_to_your_database ?

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?

如果您在本地运行应用程序,则需要使用备用的mysql驱动程序.

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

这篇关于我在哪里找到并下载了这个jar文件com.mysql.jdbc.GoogleDriver?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆