UniConnection siletly closes connection to MySQL
Posted: Wed 27 May 2015 06:07
Hi.
Recently encountered a strange error.
UniDAC with MySQL connection is closing active connection to database silently.
(Server interactive timeout = 1 day, UniConnection is specified as interactive)
After a certain period of time queries are failing with socket error.
No OnDisconnect event is fired for UniConnection.
The only way to fix it for me was to put a timer with simple poll to database. Others than that nothing works.
Any solution to that?
Recently encountered a strange error.
UniDAC with MySQL connection is closing active connection to database silently.
(Server interactive timeout = 1 day, UniConnection is specified as interactive)
After a certain period of time queries are failing with socket error.
No OnDisconnect event is fired for UniConnection.
The only way to fix it for me was to put a timer with simple poll to database. Others than that nothing works.
Any solution to that?