On 03/11/2014 08:32 PM, Neil Watson wrote:
Howdy,
I'm learning and prototyping with mojo lite. I'm getting a db connection
error but I don't know why.
Error:
DBD::Pg::st execute failed: Cannot call execute on a disconnected
database handle at DReport.pl line 24.
Line 24 is at the end of the excerpt below. There was no die from
DBI->connect yet the error indicates no connection. I have another,
unrelated, script that uses the same connect code and credentials and it
works just fine. What have I done wrong?
Have a look at
http://search.cpan.org/~madcat/Mojolicious-Plugin-Database-1.08/lib/Mojolicious/Plugin/Database.pm
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.