Quoting Alex Dubov <[EMAIL PROTECTED]>:

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

Reply via email to