Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Script - MySql 8 - JDBC Connection Failed

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.

like image 799
JwM Avatar asked Aug 30 '18 21:08

JwM


2 Answers

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.

like image 111
JwM Avatar answered Sep 22 '22 14:09

JwM


The issue has been raised here and marked as fixed recently.

Other related issues can be searched here

like image 30
TheMaster Avatar answered Sep 23 '22 14:09

TheMaster