in reply to Dancer app losing DB connection

Hi,

Just a guess, could ( some of ) the connection info be going out of scope at some point?

J.C.

Replies are listed 'Best First'.
Re^2: Dancer app losing DB connection
by Anonymous Monk on Aug 16, 2014 at 07:27 UTC

    Just a guess, could ( some of ) the connection info be going out of scope at some point?

    Also unlikely :)

    Although, cranking up DBI trace level and waiting for this to happen again might reveal more

    I think its a socket issue , the os manages sockets, they could get stale/deadlocked/whatever, and then the DBD erroneously reports access denied (maybe its a socket creation access denied)...

    More diagnostics to really figure out whats going on

    scheduled reboot (cron?) to void the issue :)

      That would make some sense. If the connection info was going out of scope, why only the password (since user and dbname were fine)?
      Debugging this is going to be difficult I think...