I believe that the MySQL 4.x client library automatically reestablishes
connections. We're also using a couple of MySQL specific functionality in
DBMail 2.x, so it'll soon be a non-issue.

Is there a quick and clean fix that can be applied to the 1.2.x tree?

Aaron


""Christian G. Warden"" <[EMAIL PROTECTED]> said:

> On Wed, May 19, 2004 at 08:19:28AM -0400, John M. Brown wrote:
> > Ok...I reconfigured the server from scratch...here are the specs:
> > 
> > MySQL 3.23.x
> > DBMail 1.2.7b
> > Postfix MTA
> > 
> > I still get the imap server losing the connection to the database.  It
> > works after a restart...and will run most of the day, but it looks like if
> > it goes unused for several hours it actually drops the connection.
> > 
> > For example, I check my mail via IMAP at 11:00 pm and then when I get up
> > in the morning around 7:00 am.  The server works all day (from 7 to 11)
> > b/c I check it frequently throughout the day, but every morning when I
> > wake up it says that the "_auth_query()" has lost it's connection
> > (connection dropped).
> > 
> > Any suggestions?  Would upgrading to the 2.0rc fix this problem?
> 
> Perhaps using mysql_ping() would help.
> http://dev.mysql.com/doc/mysql/en/mysql_ping.html
> 
> xn
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev@dbmail.org
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
> 



-- 



Reply via email to