![]() |
|
There's more than one way to do things | |
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.
|
|