File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ def __init__(self, **kwargs):
134
134
and self ._mysql_collation == "utf8mb4_0900_ai_ci"
135
135
):
136
136
self ._mysql_collation = "utf8mb4_general_ci"
137
- except mysql .connector .ProgrammingError :
137
+ except mysql .connector .errors . ProgrammingError :
138
138
if (
139
139
self .MYSQL_CONNECTOR_VERSION .major >= 8
140
140
and self .MYSQL_CONNECTOR_VERSION .micro >= 30
@@ -217,7 +217,7 @@ def _connect(self, retried_mysql_57=False):
217
217
raise ValueError (
218
218
"Your MySQL version does not support InnoDB FULLTEXT indexes!"
219
219
)
220
- except mysql .connector .ProgrammingError as err :
220
+ except mysql .connector .errors . ProgrammingError as err :
221
221
if not retried_mysql_57 :
222
222
if (
223
223
self .MYSQL_CONNECTOR_VERSION .major >= 8
You can’t perform that action at this time.
0 commit comments