Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Handle DBI connection lost

by bash (Scribe)
on Feb 27, 2017 at 12:47 UTC ( [id://1182959]=note: print w/replies, xml ) Need Help??


in reply to Re: Handle DBI connection lost
in thread Handle DBI connection lost

Yep, i've looked at this module. Unfortunately it goes by way 1, i.e. ping'ing server before every request.

Replies are listed 'Best First'.
Re^3: Handle DBI connection lost
by Anonymous Monk on Feb 28, 2017 at 00:12 UTC

    You sure?

    "In fixup mode, DBIx::Connector executes the block without pinging the database. But in the event the block throws an exception, if DBIx::Connector finds that the database handle is no longer connected, it will reconnect to the database and re-execute the block."
      Oh... sorry. I missed to say that we have many sql related code and main idea is to substitute DBI $dbh with something other that handle reconnection with the same API.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1182959]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-24 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found