--- /dev/null
+.. change::
+ :tags: bug, mysql
+ :tickets: 8036
+
+ Fixed an issue in the mysql dialect when using the
+ :paramref:`.create_engine.pool_pre_ping` parameter with MySQL >=
+ 8.0.24, an exception was raised instead of reconnecting
(2006, "foo", "OperationalError", "pymysql", True),
(2007, "foo", "OperationalError", "mysqldb", False),
(2007, "foo", "OperationalError", "pymysql", False),
+ (4031, "foo", "OperationalError", "mysqldb", True),
+ (4031, "foo", "OperationalError", "pymysql", True),
+ (4032, "foo", "OperationalError", "mysqldb", False),
+ (4032, "foo", "OperationalError", "pymysql", False),
)
def test_is_disconnect(
self, arg0, message, exc_cls_name, dialect_name, is_disconnect