Re: mysql_query to return immediately when connection lost

2003-03-26 Thread Pedro Alvarez-Tabío
, March 25, 2003 4:34 PM Subject: Re: mysql_query to return immediately when connection lost Hi, In this case I do have a DNS server. Any other hint please? I strongly need mysql_query to return immediately if connection is lost with the server. Any configuration parameter or similar

mysql_query to return immediately when connection lost

2003-03-25 Thread Pedro Alvarez-Tabío
Hello, My client uses mysql_query to access a remote server. When the connection is lost (cable disconnected), mysql_query doesn't return immediately and I need a fast error return. I have tried executing mysql_options(mysql, MYSQL_OPT_CONNECT_TIMEOUT, connectTimeout); (connectTimeout=1), always

Re: mysql_query to return immediately when connection lost

2003-03-25 Thread Gelu Gogancea
] - Original Message - From: Pedro Alvarez-Tabío [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 1:47 PM Subject: mysql_query to return immediately when connection lost Hello, My client uses mysql_query to access a remote server. When the connection is lost (cable

Re: mysql_query to return immediately when connection lost

2003-03-25 Thread Pedro Alvarez-Tabío
] - Original Message - From: Pedro Alvarez-Tabío [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 1:47 PM Subject: mysql_query to return immediately when connection lost Hello, My client uses mysql_query to access a remote server. When the connection is lost (cable

Re: mysql_query to return immediately when connection lost

2003-03-25 Thread Gelu Gogancea
Message - From: Pedro Alvarez-Tabío [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Gelu Gogancea [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 4:34 PM Subject: Re: mysql_query to return immediately when connection lost Hi, In this case I do have a DNS server. Any other hint please? I strongly