You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that all of my servers that are running the current sqljocky5 version crash from time to time. The connection to MySQL gets interrupted for whatever reason (e.g. mysqld restart). Then, when the program tries to execute a query, this happens:
Furthermore, I wasn't able to catch the error to handle it myself (i.e. create a new connection and retry the query):
Edit: That was my fault, catching works fine. I guess I have to implement a reconnect mechanism into my application now.
Would be cool though if the library detected disconnects itself. Ideally before the user is trying to execute a query. Something like: _connection.onDisconnect.listen( ... )
The text was updated successfully, but these errors were encountered:
This goal is related to the "unhandled exception" reported in #26. But the specific exception is different, since I can't seem to catch the other exception (not without trying to use zones etc.).
Uh oh!
There was an error while loading. Please reload this page.
I have noticed that all of my servers that are running the current sqljocky5 version crash from time to time. The connection to MySQL gets interrupted for whatever reason (e.g. mysqld restart). Then, when the program tries to execute a query, this happens:
Furthermore, I wasn't able to catch the error to handle it myself (i.e. create a new connection and retry the query):Edit: That was my fault, catching works fine. I guess I have to implement a reconnect mechanism into my application now.
Would be cool though if the library detected disconnects itself. Ideally before the user is trying to execute a query. Something like:
_connection.onDisconnect.listen( ... )
The text was updated successfully, but these errors were encountered: