fixed missing host and port in mysql statements