MySQL : Failed to establish a database connection. Check connection string, username and password.

1,288 views
Skip to first unread message

Md. Jehadul Karim

unread,
May 11, 2021, 5:18:07 PM5/11/21
to Google Apps Script Community
Same code that was running two days ago, is throwing exception today,

Failed to establish a database connection. Check connection string, username and password.

I have not changed password or anything. But it is not working. Have any of you facing the same error connecting to remote mysql database? or if you have any suggestions, please help.

Thank you.

Stephen Putman

unread,
May 12, 2021, 8:00:27 AM5/12/21
to Google Apps Script Community
This has been reported by many people the past few days.  The workaround for me is to append your connection URL with "?useSSL=false", but there's some security concerns about this.
See these threads:
Reply all
Reply to author
Forward
0 new messages