-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does asyncmy support sqlalchemy ORM #32
Comments
Looks like problem of ssl |
@long2ice Yep, that's correct. Only when using SSL will have this exception, there won't be any exception if not using SSL |
I hit the same issue using the The same SSL CA certificate works fine with It works fine without the SSL certificate, so yes, it is something SSL-related, but not the certificate itself or the MySQL server side, as the same works in |
I have figured it out. For some reason providing the SSL cert in the URI doesn't work, but you can provide the SSL context in the
|
https://docs.sqlalchemy.org/en/14/orm/tutorial.html#creating-a-session
What we do is
The error thrown is:
This error will show if we use ssl.
The text was updated successfully, but these errors were encountered: