I have recently started testing Drizzle-JDBC using IPv6 addresses and this results in an exception in the parse(String url) method of org.drizzle.jdbc.JDBCUrl. This is caused by the fact that IPv6 addresses contain ":" characters.
I have prepared and tested a fix for this issue. I finally got the time to publish the patch on github.
The code change allows IPv6 addresses when placed between square brackets (this matches general URL formatting standards for IPv6 addresses):
jdbc:drizzle://[IPv6Address]:3306/database_name
For example, with the IPv6 localhost address, this would look like this:
jdbc:drizzle://[::1]:3306/database_name
I have recently started testing Drizzle-JDBC using IPv6 addresses and this results in an exception in the parse(String url) method of org.drizzle.jdbc.JDBCUrl. This is caused by the fact that IPv6 addresses contain ":" characters.
I have prepared and tested a fix for this issue. I finally got the time to publish the patch on github.
The code change allows IPv6 addresses when placed between square brackets (this matches general URL formatting standards for IPv6 addresses): jdbc:drizzle://[IPv6Address]:3306/database_name
For example, with the IPv6 localhost address, this would look like this: jdbc:drizzle://[::1]:3306/database_name