Best way to handle a dropped connection to a DB ?

I am using a connection to a remote cubesql server in my app… but I am not sure how to handle when I get a connection error 820 (when the connection has cut or dropped)… I now get a cascade of error messages which are no use for the user… What’s the right way to deal with this ?

I would say disconnect and reconnect.

Yep, as usual, once I post the message here I realize the answer… :slight_smile:

If I get the connection lost error message I simply call CubeSQL connection method…