Show Errors in MySQL
SHOW ERRORS [LIMIT [offset,] row_count]
SHOW COUNT(*) ERRORS
This statement is similar to SHOW WARNINGS, except that instead of displaying errors, warnings,
and notes, it displays only errors. SHOW ERRORS is available as of MySQL 4.1.0.
The LIMIT clause has the same syntax as for the SELECT statement. See Section 6.1.7, “SELECT
Syntax.”
The SHOW COUNT(*) ERRORS statement displays the number of errors. You can also retrieve
this number from the error_count variable:
SHOW COUNT(*) ERRORS;
SELECT @@error_count;
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.










Comments
No comments yet.
Leave a comment