How to fix: AttributeError: 'MySQLDialect_pymysql' object has no attribute 'case_sensitive' #908
Answered
by
0106WeiWeiDeng
0106WeiWeiDeng
asked this question in
Q&A
|
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! |
Answered by
0106WeiWeiDeng
Mar 17, 2023
Replies: 3 comments 4 replies
|
Additional info: when I use SQLAlchemy to connect mysql and excute SQLs, no error occurs! |
1 reply
|
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 |
0 replies
Answer selected by
0106WeiWeiDeng
|
Is there a way to fix this without changing the library files? Else other developers cannot just |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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