'show errors' at the sql prompt.

HTH.