Releases: puellanivis/sqlcl
Releases · puellanivis/sqlcl
Update to breton v0.2.12
v0.0.3 update to breton v0.2.12
Detect protocol coding in unprefixed MySQL DSNs
While the mysql
driver largely has been fixed to prevent the issue of url.Parse
not working with non-numeric ports, this code still presumed that one could simply prepend mysql://
and then remove any XYZ()
that occurred in the URL.
This was erroneous, and caused the code to not work, again because url.Parse
was given a broken URL.
Now, the code:
- detects if there is a
tcp(…)
in the DSN, and converts that to what should be a valid URL by removing thetcp(
and)
. - detects a
unix(…)
which causes it to entirely remove the wholeunix(…)
section, and pass a new value that is used to specify the socket to connect on.
The result is a more robust mapping of expected DSNs that should connect through the command-line the same as the golang mysql driver would.
Initial versioned release
v0.0.1 update dependencies