Google App脚本-MySql 8-JDBC连接失败 [英] Google App Script - MySql 8 - JDBC Connection Failed

查看:131
本文介绍了Google App脚本-MySql 8-JDBC连接失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用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屋!

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