Changed mysql_host to ipv4, for better speed under windows systems