Google App Script - MySql 8 - JDBC 连接失败 [英] Google App Script - MySql 8 - JDBC Connection Failed
问题描述
我正在尝试使用 Jdbc
实用程序通过 SSL 从 Google AdWords 脚本(实际上是应用程序脚本)连接到自托管的 MySql 8 实例.我的代码遵循这些答案中的规范这里 和此处.
I'm trying to connect to a self-hosted MySql 8 instance from a Google AdWords Script (effectively an App Script) using the Jdbc
utility over SSL. My code follows the specifications in these answers here and here.
无论我做什么,我仍然收到以下错误:错误:无法建立数据库连接.检查连接字符串、用户名和密码.
No matter what I do, I still get the following error:
ERROR: Failed to establish a database connection. Check connection string, username and password.
推荐答案
事实证明 Jdbc
实用程序仅适用于最高 5.7
的 MySql 版本.
It turns out that the Jdbc
utility only works with versions of MySql up to 5.7
.
我想我会在死后把这个贴在这里,以防我可以节省别人的时间.
I thought I would post this here posthumously in case I can save someone else time.
这篇关于Google App Script - MySql 8 - JDBC 连接失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!