Fix for connecting to mysql via socket