It's really salt which has no support for a unix socket. the MySQLdb.connect interface supports unix sockets, and according to the MySQLdb documentation, using the socket is even the default and preferred. So we need to add support for a unix socket in salt at least for the returner module.