Database protocols report errors in structured messages that Wireshark decodes: MySQL's ERR packets with error codes and SQL states, PostgreSQL's ErrorResponse with severity and message fields. These captures run deliberately failing statements (bad syntax, missing tables, denied privileges, violated constraints) so the error formats can be learned and compared with the sequences SQL injection tools provoke.
Database error scenarios on the wire: MySQL and PostgreSQL sessions producing syntax, permission, constraint and connection errors.
PostgreSQL Error Scenarios
PostgreSQL sessions triggering various errors: querying nonexistent tables, invalid column names, connecting to nonexistent databases, failed authentication, and division by zero. Shows how PostgreSQL error codes and messages appear in the wire protocol.
MySQL Error Scenarios and Edge Cases
MySQL sessions triggering various error conditions: querying nonexistent tables, connecting to nonexistent databases, invalid INSERT syntax, SLEEP() function, and failed authentication. Shows how MySQL error codes and messages appear in the wire protocol.