Google App脚本-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.
无论我做什么,我仍然会遇到以下错误:
ERROR: Failed to establish a database connection. Check connection string, username and password.
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
实用程序仅适用于MySql直至5.7
的版本.
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脚本-MySql 8-JDBC连接失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!