Re: connection lost on long-distance connection

2001-03-14 Thread René Tegel
's not only libmysql.dll that suffers from this problem, it's also the (original) client... regards, rene - Original Message - From: "Boulat Khakimov" <[EMAIL PROTECTED]> To: "René Tegel" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursda

Re: connection lost on long-distance connection

2001-03-14 Thread Boulat Khakimov
Hi, Here is the way I would fix that problem (assuming you're a programmer) write a simple function check_connection(MYSQL **conn) for example. that will issue a query "SELECT NOW()" to mysql, if that query fails that means connection to mySQL has gone away and the function has to reconnects

connection lost on long-distance connection

2001-03-14 Thread René Tegel
I've ran into some problems when connecting to a mysql server over a long-distance connection (i.e.: the internet). The first time a client reconnects from a idle connection this reconnect fails, only the second time it succeeds. The main problem is that i've written a win32 app that connects to t

connection lost on long-distance connection

2001-03-14 Thread René Tegel
I've ran into some problems when connecting to a mysql server over a long-distance connection (i.e.: the internet). The first time a client reconnects from a idle connection this reconnect fails, only the second time it succeeds. The main problem is that i've written a win32 app that connects to t