Thanks for the pointer; I had not thought about that.
I dug further and found I could do the following and it would automatically reconnect:
$dbh = DBI->connect("DBI:mysql:database=$dbname:$server", $username, $password); $dbh->{mysql_auto_reconnect} = 1;
In reply to Re^2: debugging POE and MySQL connections
by bfdi533
in thread debugging POE and MySQL connections
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |