Skip to content

Connecting to socket did not work after support for ipv6 in 5.4.0 - #1183

Closed
magnusvin wants to merge 6 commits into
vrana:masterfrom
magnusvin:patch-1
Closed

Connecting to socket did not work after support for ipv6 in 5.4.0#1183
magnusvin wants to merge 6 commits into
vrana:masterfrom
magnusvin:patch-1

Conversation

@magnusvin

Copy link
Copy Markdown
Contributor

After update to 5.4.0 connecting to ":/socket/mysql.sock" did not work. Since host always is specified along with socket it does not work. I have made a change to "host_port" so unix socket is splitted to port section instead of to host.
I then make a check if host is empty and does not include host in dsn if empty

Allows server to be ":/socket/mysql.sock", host will be empty and "port" (socket) will be path to socket. This will also work with "proxy:/socket/mysql.sock" and host will be "proxy"
@magnusvin
magnusvin force-pushed the patch-1 branch 6 times, most recently from 3bd2a81 to 51b8992 Compare October 5, 2025 22:10
@vrana

vrana commented Oct 27, 2025

Copy link
Copy Markdown
Owner

This includes many unrelated changes. Describe your issue in a clear way and focus on fixing just that. Include screenshots.

@vrana vrana closed this Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants