MySQL Communication link failure
Hello,
We have few internal tasks that try to query our SMA(Systems Management Appliance) to fetch some data on our CF 2023 stack.
However, we have been getting a specific error mentioned below. Surprisingly, the error seems to be intermittent.
It works sometimes and fails later after trying consecutively
Error is: Error Executing Database Query.: Communications link failure The last packet successfully received from the server was 48 milliseconds ago. The last packet sent successfully to the server was 63 milliseconds ago
we are using mysql data source type as other(connection string mentioned below) and the connection verification says "OK" but the query fails intermittently.
jdbc:mysql://xx..xx.com:3306/XXX?connectTimeout=5000&failOverReadOnly=false&enabledTLSProtocols=TLSv1.2&trustCertificateKeyStoreUrl=file:/opt/mysql.keystore&trustCertificateKeyStoreType=JKS&trustCertificateKeyStorePassword=XXX&serverTimezone=EST5EDT
Here are few other details :
mysql connector 8.4
OS type: RHEL 9
Any inputs/suggestions are highly appreciated.
Thanks.
