when unable to connect to a mysql, would throw an error because new_dbi does not have a property 'hostname'