Bug #6348 | MySQL fails to handle IPv6 hosts | ||
---|---|---|---|
Submitted: | 31 Oct 2004 16:55 | Modified: | 2 Dec 2004 22:21 |
Reporter: | Dan Greening | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | OS: | Linux (SUSE 9.2) | |
Assigned to: | CPU Architecture: | Any |
[31 Oct 2004 16:55]
Dan Greening
[31 Oct 2004 17:27]
Mark Matthews
Connector/J will handle connecting to IPv6 addresses, as long as they're not specified in numeric form (as this clashes with the port specification, which also uses a ':'), _and_ you're using a JDK that supports IPv6 (like JDK-1.4). However, the server (and the native clients) don't yet support IPv6, so you can't connect to them, even though the JDBC driver has figured out an address that it can pass to the JDK socket libraries. Ipv6 support is on the server roadmap, but isn't yet slated for a particular version.
[1 Nov 2004 0:29]
Dan Greening
Just FYI, although you can claim that MySQL not handling IPv6 is a "feature request", it will be viewed as a bug to those who cannot run it on SUSE 9.2. You should add documentation specifically addressing this issue, somewhere. Then you can take your time fixing the problem.
[2 Dec 2004 22:21]
Mark Matthews
Fixed for 3.0.17 and 3.1.5...The driver will now loop through all possible IP addresses for a given host, accepting the first one that works.