JDBC Connections to MS SQL Server are failing now

374 views
Skip to first unread message

Matt Phillips

unread,
Jul 7, 2021, 3:40:25 AM7/7/21
to Google Apps Script Community
Hi all,

In the past day all of our scripts that talk to our Microsoft SQL Server are now failing to connect.

This line used to work -
var conn = Jdbc.getConnection("jdbc:sqlserver://***.***.***.***;databaseName=***;user=***;password=***;");

But now it gets this error -
Failed to establish a database connection. Check connection string, username and password.

Is anyone else experiencing this?

Thanks,
Matt
Message has been deleted

Chris Berlin

unread,
Jul 7, 2021, 3:56:26 AM7/7/21
to Google Apps Script Community
Hi
It happen in my own script too.
I get the same issue when connect to db.

Someone already issued a ticket, but it doesn't fix now.

You may check this.

Best regards
Chris

Matt Phillips

unread,
Jul 7, 2021, 4:00:36 AM7/7/21
to Google Apps Script Community
Hi All,

I searched in the Issue tracker and found lots of unhappy bug reports.

It sounds like it is affecting all JDBC connections (MySQL, SQL SERVER, hosted in and out of GCP).

Matt Phillips

unread,
Jul 7, 2021, 4:02:58 AM7/7/21
to Google Apps Script Community
Thanks Chris, I just found that too.

It sounds like it is failing for everyone, so hopefully the fix comes quickly.

Cheers
Matt

Administrativo Mi Casa

unread,
Aug 13, 2023, 7:59:49 PM8/13/23
to Google Apps Script Community
Hi, 


this issue have a fix o not?

Matt Phillips

unread,
Aug 13, 2023, 8:21:04 PM8/13/23
to Google Apps Script Community
Yes, it was an outage on Google's end.  They resolved it

Here is one of the issues that was created to track it -

Reply all
Reply to author
Forward
0 new messages