Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Answer: How can I see error messages from MySQL?

by PsychoSpunk (Hermit)
on Jul 12, 2000 at 20:20 UTC ( #22217=categorized answer: print w/replies, xml ) Need Help??

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

To continue the follow up to the previous follow up... if you RaiseError, you may find it handy to use the variable for the error string produced by the DBMS irregardless of which one you choose. This of course is $DBI::errstr which will return the ever cryptic messages that seem to be returned from every DBMS I've used.

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

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2016-10-23 01:49 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.