bketelsen / handlersocket-go

A Go library for connecting to HandlerSocket (github.com/ahiguti/HandlerSocket-Plugin-for-MySQL)
Apache License 2.0
46 stars 14 forks source link

unix domain socket support #1

Open sigmonsays opened 12 years ago

sigmonsays commented 12 years ago

is unix domain socket supported?

Doesn't look like it from a quick scan.

bketelsen commented 12 years ago

i didn't even know that HS supported unix sockets. i'll try to find some time to investigate.

sigmonsays commented 12 years ago

Try the following under [mysqld] in my.cnf handlersocket_address=/ handlersocket_port = /srv/mysql/mysql-handler-socket.sock handlersocket_port_wr = /srv/mysql/mysql-handler-socket-wr.sock

I suspect its a pretty trivial patch. I will take a look too when free time permits.