Bug #105543 odbc 8.0 failed connect to mysql with ipv6, but not odbc 5.0
Submitted: 12 Nov 2021 10:17 Modified: 30 Mar 2022 12:36
Reporter: quan an Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / ODBC Severity:S1 (Critical)
Version: OS:Windows (10)
Assigned to: CPU Architecture:Any

[12 Nov 2021 10:17] quan an
Description:
windows 10,odbc daba sources, use mysql odbc 8.0 connect mysql server with IPV6 failed:unknown Mysql server host "xxx" (11001)
when the server IP use (ipv4:3306) and port is incorrect, mysql odbc 8.0 Still connection successful.

How to repeat:
mysql version 5.7.30
windows 10,odbc daba sources, use mysql odbc 8.0 connect mysql server with IPV6 failed:unknown Mysql server host "xxx" (11001)
when the server IP Specify format {ipv4 address:3306} ,the port is incorrect, mysql odbc 8.0 Still connection successful.
[15 Nov 2021 1:02] quan an
odbc5  cennect mysql with ipv6 successful

Attachment: odbc5-ipv6.png (image/png, text), 192.46 KiB.

[15 Nov 2021 1:03] quan an
odbc8 connect to mysql with ipv6 failed

Attachment: ipv6.png (image/png, text), 163.60 KiB.

[15 Nov 2021 1:05] quan an
odbc8 connect to mysql successful with ipv4 and port is incorrect

Attachment: ipv4.png (image/png, text), 33.04 KiB.

[17 Nov 2021 6:18] quan an
mysql odbc 8.0 can not support ipv6
[30 Nov 2021 9:54] quan an
Please support for hope
[30 Mar 2022 12:36] MySQL Verification Team
Hello,

Thank you for the bug report.
I tried to reproduce your issue on windows 10 with odbc5 and odbc8 but I am not seeing any issues at my end.

Regards,
Ashwini Patil