mysql: support local sockets