小编Pat*_*ban的帖子

在 Idea Intellij 上,如何连接到 Google Cloud SQL

我尝试使用 Intellij 使用 Google Cloud SQL 开发 Google App Engine 应用程序。如何在开发启动中配置 Cloud Sql 访问?

我在 VM 选项中添加了这个:

-Drdbms.server=hosted -Drdbms.hosted.instance=my-sql-project-id:test
-Drdbms.database=database -Drdbms.driver=com.google.cloud.sql.jdbc.Driver
Run Code Online (Sandbox Code Playgroud)

但是 Google Sql 必须通过 oauth2 令牌连接到服务器。

使用 Eclipse Google Plugin,插件连接到数据库并自动配置连接。

谢谢,

sql google-app-engine intellij-idea google-cloud-sql

7
推荐指数
1
解决办法
3280
查看次数