Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Answer: How can I see error messages from MySQL?

by pmas (Hermit)
on Jul 27, 2001 at 20:39 UTC ( #100364=categorized answer: print w/replies, xml ) Need Help??

Q&A > database programming > How can I see error messages from MySQL? - Answer contributed by pmas

DBI has excellent function DBI->trace(2), printing a string for each DBI action made (as connect, prepare, execute). Will even show you which data were fetched, row by row. Excellent for debug.

  • Comment on Answer: How can I see error messages from MySQL?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[SuicideJunkie]: Blergh. Trying to work into low level C code, stuff that would have been so easy with a regex.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2016-12-07 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (131 votes). Check out past polls.