odbc error

info info@REDACTED
Sun Nov 14 18:45:01 CET 2010

I received this message in a gen_server:
"odbc MySQL server has gone away SQLSTATE IS: 08S01 "
I suppose that the defaut idle time of 8 hours has expired.

What is the best action to do with erlang+odbc:
- restart the server ?
- catch the error and restart odbc ?

J-Ph. Constantin
ITS3 Genève

More information about the erlang-questions mailing list