来自 Google App Engine 的 Google Cloud SQL(第 2 代)出现 "TLS requested but server does not support TLS" 错误?

"TLS requested but server does not support TLS" error with Google Cloud SQL (2nd generation) from Google App Engine?

我 运行 遇到重新使用我的连接字符串(已在此处解决... ...)连接到 Google Cloud SQL 第一代实例,同时尝试连接到第二代实例。我收到此错误:TLS requested but server does not support TLS

我不知道如何解决这个问题, 而且文档非常稀缺。

我发现 Instance connection name 在第二代中遵循不同的结构,但这似乎不是问题所在。有人解决了吗?我正在从 Golang 连接。

MySQL 级 SSL 当前在 App Engine 标准环境和云 SQL 第二代实例之间不受支持。

App Engine 标准环境与云 SQL 之间的通信已经加密,因此使用 MySQL 级别的 SSL 不会增加很多价值,尽管我可以理解应用程序级别的 SSL 可以增加一些高枕无忧,因为 Cloud SQL 和 App Engine 之间发生的事情是不透明的。

我会尝试看看这是否是我们可以改变的。