Added support for mysql socket to reduce TCP/IP overhead