ID:               42901
 User updated by:  soenke at jimdo dot com
 Reported By:      soenke at jimdo dot com
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: Irrelevant
 PHP Version:      5.2.4
 New Comment:

Here is working code from lighttpd mod_mysql_vhost:

http://trac.lighttpd.net/trac/browser/branches/lighttpd-1.4.x/src/mod_mysql_vhost.c?rev=1965


Previous Comments:
------------------------------------------------------------------------

[2007-10-09 13:45:52] soenke at jimdo dot com

Description:
------------
For long-running PHP script with database connections it would be nice
if the database driver automatically reconnects in case of a
server/network timeout.

This could be integrated with a reconnect flag for PDO. 

At least in libmysqlclient >= 5.0.13 MYSQL_OPT_RECONNECT is available.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42901&edit=1

Reply via email to