I have a problem disabling validation of the connection in Apache::DBI
.
From the perldoc:
Apache::DBI->setPingTimeOut($data_source, $timeout)
This configures the usage of the ping method, to validate a connection. Setting the timeout to 0 will always validate the database connection using the ping method (default). Setting the timeout < 0 will de-activate the validation of the database handle.
I tried calling setPingTimeOut
with the same $data_source as in connect()
but it didn't work. Did anyone manage to disable the pings?