in reply to Re: debugging POE and MySQL connections
in thread debugging POE and MySQL connections
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;
|
|---|