freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: [freetds] FreeTDS (on FreeBSD) lost connection to remote MSSQLserver
- From: "Jorge Cordero" <jorge.cordero AT gmx.net>
- To: "Dmitry V. Zavyalov" <zavyalov AT avtocard.msk.ru>, "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Cc:
- Subject: RE: [freetds] FreeTDS (on FreeBSD) lost connection to remote MSSQLserver
- Date: Mon, 27 Jun 2005 05:44:25 -0500
Not really sure, but my guess is maybe the error handler is the key...
If you already created and installed a callback function via
dberrhandle(), then I suggest some testing.
Try for example killing your process in the server and adapt your app
to such exception.
-----Mensaje original-----
De: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org]En nombre de Dmitry V.
Zavyalov
Enviado el: Monday, June 27, 2005 01:46 AM
Para: freetds AT lists.ibiblio.org
Asunto: [freetds] FreeTDS (on FreeBSD) lost connection to remote
MSSQLserver
All,
Is there any way to detect server disconnection?
I have FreeTDS installed from ports on FreeBSD 5.3 (version 5.0 as
port says).
Everything working great, but in case network problems or SQL server
restart tds_submit_query simply returns 0 (TDS_FAIL) with no extra
information.
Can I handle such kind of situation?
Thank You!
--
Best regards,
Dmitry mailto:zavyalov AT avtocard.msk.ru
Phone: +7-9262069526
icq: 33287024
skype: zavyalov
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
-
[freetds] FreeTDS (on FreeBSD) lost connection to remote MSSQL server,
Dmitry V. Zavyalov, 06/27/2005
- RE: [freetds] FreeTDS (on FreeBSD) lost connection to remote MSSQLserver, Jorge Cordero, 06/27/2005
Archive powered by MHonArc 2.6.24.