Proper connection error messages for mysql