-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support IPv6 #118
Comments
I've worked around this and added IPv6 support with the following change. The problem is that it raises the minimum Python requirement to version 2.6. To keep compatibility with 2.4, a whole lot of extra code would be needed. Though, I'm not really sure if anybody's even still using 2.4 anymore...
|
@error10 I've merged your patch. Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
MySQL supports IPv6 with version 5.5, but pymysql has no support for IPv6 and fails with a strange error if you attempt to use an IPv6 address:
I'm no Python expert but I think the problem is that an AF_INET6 socket should be opened when trying to connect to an IPv6 address.
The text was updated successfully, but these errors were encountered: