Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Unix Domain Socket support #106

Merged
merged 1 commit into from
Oct 23, 2024
Merged

feat: add Unix Domain Socket support #106

merged 1 commit into from
Oct 23, 2024

Conversation

fanyang01
Copy link
Collaborator

Unix Domain Socket is known to be faster than TCP loopback connection. On Unix, MySQL Shell connections default to using Unix sockets if host&port are not specified.

Usage:

./myduckserver --socket ./my.sock
mysqlsh -S ~/src/myduckserver/my.sock -uroot --no-password

Copy link
Contributor

@TianyuZhang1214 TianyuZhang1214 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fanyang01 fanyang01 merged commit 5711e40 into main Oct 23, 2024
1 check passed
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