Open TomLewis opened 3 years ago
@TomLewis why are u using that? I've checked it and its not actually recommended to use https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-connp-props-high-availability-and-clustering.html
The use of this feature is not recommended, because it has side effects related to session state and data consistency when applications don't handle SQLExceptions properly,
XPBoost internally uses HikariCP and it renews and manages connections automatically within some period.
I set it years ago, I cant remember why, there was an issue with XPBoost SQL connection breaking other things, and adding that fixed it.
@TomLewis are u able to check if issue still persists?
https://gist.github.com/TomLewis/ca99cbb0a12e9193eebe53ed24afc198
In my config, I use;
database: 'Database_Name?autoReconnect=true'
This worked perfectly fine before as this caused database issues when it randomly disconnected before.