Pass the socket configuration to MySQL connection