apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: [PATCH]: enable automatic reconnect for mysql >= 5.0.13
Date Wed, 24 May 2006 03:24:46 GMT
Quoting Alex Dubov <oakad@yahoo.com>:

> libmysqlclient v4 reconnects automatically when mysqld
> closes connection. libmysqlclient v5 won't. I thought
> to implement explicit reconnect for this condition,
> but then found that it can be easily enabled in mysql

In your testing, does 3rd comment on this page hold true?

http://dev.mysql.com/doc/refman/5.0/en/mysql-options.html

Peter claims options for reconnect should be called after the  
connection. I'm guessing you're using something above 5.0.16, so this  
may have been fixed, although this page seems to support him:

http://dev.mysql.com/doc/refman/5.0/en/mysql-real-connect.html

-- 
Bojan

Mime
View raw message