Skip to content

Conversation

magnusvin
Copy link

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
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.

1 participant