jdbc with ssl

39 views
Skip to first unread message

Dorabajji

unread,
Oct 2, 2022, 10:06:23 AM10/2/22
to Google Apps Script Community
Hi,
Does anybody having issue in jdbc connection with ssl to mysql recently..
Mine is failing and i am getting Exception: Unexpected error while getting the method or property getConnection on object Jdbc. 
Exception: Unexpected error while getting the method or property getConnection on object Jdbc. Does anyone have the same issue?
i am using  the below code
 var connParams = {
    useruser,
    password:password,
    _serverSslCertificateserverSslCertificate,
    _clientSslCertificateclientSslCertificate,
    _clientSslKeyclientSslKey,
  };

esamb...@gmail.com

unread,
Oct 3, 2022, 11:08:23 PM10/3/22
to Google Apps Script Community
Not sure if this will help. but there is a documentName key/value pair in the connParams JS object.  Even though you specify the DB name, you might try respecifying it in the JS parameters object.
Reply all
Reply to author
Forward
0 new messages