Recover from a CLOUD-0005: Unable to Establish Connection Error

If you receive the following error:

CLOUD-0005: Unable to establish connection. 
Please check connection parameters ยท  IO Error: Invalid connection string format, a
valid format is: "host:port:sid" and the Service Name contains HYPHEN "-"

Perform the following steps:

  1. Check if the service name can be modified to remove the hyphen (-).

  2. If you cannot remove the hyphen, prefix the host name in the database connection with // (for example, //host.test.com).