I have had the "MySQL Server has gone away..." problem with OpenSuSE 10.1. I 
think, the problem is, that mysql >= 5 does not automatically reconnect after the 
connection has been timed out. The following setting in /etc/my.cnf solved the problem for 
me:

[mysqld]
...
wait_timeout = 432000

It would be better to connect to MySQL in a different way: As described in the 
Documentation of mysql_options(), at 
http://dev.mysql.com/doc/refman/5.0/en/mysql-options.html MYSQL_OPT_RECONNECT should be 
set to true: "Enable or disable automatic reconnection to the server if the 
connection is found to have been lost. Reconnect has been off by default since MySQL 
5.0.3; this option is new in 5.0.13 and provides a way to set reconnection behavior 
explicitly."

I currently do not have time to create a patch, but if someone could provide me 
with an patch against the latest toaster-version I could recompile and test it.

Best regards,
Johannes
Erik Espinoza schrieb:
Yep, looks like a compile error on courier imap. Not sure if its the
configuration frm the QmailToaster project or your system.

Does anyone here use FC5 + QmailToaster and is not experiencing this problem?

Thanks.
Erik


--


|---------------------------------
|  weberhofer GmbH               | Johannes Weberhofer
|  information technologies, Austria
|
|  phone : +43 (0)1 5454421 0    | email: [EMAIL PROTECTED]
|  fax   : +43 (0)1 5454421 19   | web  : http://weberhofer.at
|  mobile: +43 (0)699 11998315
|----------------------------------------------------------->>



---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to