Search Results
https://dev.mysql.com/doc/refman/8.4/en/innodb-error-handling.html
Other errors are mostly detected by the MySQL layer of code (above the InnoDB storage engine level), and they roll back the corresponding SQL statement. If you run out of file space in a tablespace, a MySQL Table is full error occurs and InnoDB ...
https://dev.mysql.com/doc/refman/8.4/en/communication-errors.html
If connection problems occur such as communication errors or aborted connections, use these sources of information to diagnose problems: The error log. If the log_error_verbosity system variable is set to 3, you might find messages like this in ...
https://dev.mysql.com/doc/internals/en/error-injection.html
In the code you can use the following macros: ERROR_INJECT_ACTION(keyword,action) ERROR_INJECT_CRASH(keyword) ERROR_INJECT(keyword) SET_ERROR_INJECT_VALUE(value) ERROR_INJECT_VALUE_ACTION(value,action) ERROR_INJECT_VALUE_CRASH(value) ... Note: The ...This means each of them will never execute twice within one SQL ...
https://dev.mysql.com/doc/connectors/en/connector-python-api-errors-databaseerror.html
This exception is the default for any MySQL error which does not fit the other exceptions.
https://dev.mysql.com/doc/connectors/en/connector-python-api-errors-integrityerror.html
The following example shows a duplicate key error raised as IntegrityError: cursor.execute("CREATE TABLE t1 (id int, PRIMARY KEY (id))") try: cursor.execute("INSERT INTO t1 (id) VALUES (1)") cursor.execute("INSERT INTO t1 (id) VALUES (1)") except ...
https://dev.mysql.com/doc/connectors/en/connector-python-api-errors-interfaceerror.html
This exception is raised for errors originating from Connector/Python itself, not related to the MySQL server.
https://dev.mysql.com/doc/connectors/en/connector-python-api-errors-operationalerror.html
This exception is raised for errors which are related to MySQL's operations. For example: too many connections; a host name could not be resolved; bad handshake; server is shutting down, communication errors.
https://dev.mysql.com/doc/connectors/en/connector-python-api-errors-poolerror.html
This exception is raised for connection pool errors. errors.PoolError is a subclass of errors.Error. ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-errors-databaseerror.html
This exception is the default for any MySQL error which does not fit the other exceptions.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-errors-integrityerror.html
The following example shows a duplicate key error raised as IntegrityError: cursor.execute("CREATE TABLE t1 (id int, PRIMARY KEY (id))") try: cursor.execute("INSERT INTO t1 (id) VALUES (1)") cursor.execute("INSERT INTO t1 (id) VALUES (1)") except ...