How to fix: AttributeError: 'MySQLDialect_pymysql' object has no attribute 'case_sensitive' #908
-
Hi, all I run the following code:
but an error occurs, the error info is:
MySQL version: 8.0.29 Does anyone has a clue to fix the error? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Additional info: when I use SQLAlchemy to connect mysql and excute SQLs, no error occurs! |
Beta Was this translation helpful? Give feedback.
-
just delete two line of code in aiomysql/sa/result.py, the code works fine! The code info: aiomysql/aiomysql/sa/result.py Line 116 in bb8697d aiomysql/aiomysql/sa/result.py Line 117 in bb8697d |
Beta Was this translation helpful? Give feedback.
-
Is there a way to fix this without changing the library files? Else other developers cannot just |
Beta Was this translation helpful? Give feedback.
just delete two line of code in aiomysql/sa/result.py, the code works fine! The code info:
aiomysql/aiomysql/sa/result.py
Line 116 in bb8697d
aiomysql/aiomysql/sa/result.py
Line 117 in bb8697d