Google App Script - MySql 8 - JDBC Connection Failed

Viewed 1559

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.

3 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.

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

Other related issues can be searched here

it seems like Google has updated the jdbc connector. It is working for me now,

Related