Hello:

The connection URI of mysql accept a connect_timeout (or
connect_time)* parameter. This value is the time in seconds of
timeout. Can any test if a value of -1 or 0 don't close? Another
posibility is set a very very big number.

* My dude:
http://www.sqlobject.org/sqlobject/mysql/mysqlconnection.py.html?f=5&l=210#5
http://dev.mysql.com/doc/refman/5.0/en/mysql-real-connect.html
http://sourceforge.net/tracker/index.php?func=detail&aid=1523883&group_id=22307&atid=374932
Is a bug in SO? Where is the docs?


2007/2/5, Jorge Godoy <[EMAIL PROTECTED]>:
>
> "fumanchu" <[EMAIL PROTECTED]> writes:
>
> > That's a bit out of scope for CherryPy (which is only concerned with
> > HTTP). You could certainly write an on_start_resource filter/tool to
> > ping the connection for you, but such a tool isn't (and shouldn't be)
> > included in CP.
>
> IMVHO this belongs to the db connector.  In this case the mysqldb connector.
> That's not a problem for the ORM (since it isn't caused by it) and that isn't
> generic enough to put this burden on servers that work perfectly.  Either
> MySQL people fix that or the connector people make the workaround there or
> you'll end up with this ugly hack on every installation for every project...
>
> --
> Jorge Godoy      <[EMAIL PROTECTED]>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to