apecloud / myduckserver

MySQL & Postgres Analytics, Reimagined
184 stars 8 forks source link

feat: add Unix Domain Socket support #106

Closed fanyang01 closed 1 month ago

fanyang01 commented 1 month ago

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