Unknown Servce: SQL2 Error

Symptom

An error message such as the following is received: Unknown service: SQL2.

Cause

The client connected to a NuoDB nuoagent process, but the nuoagent process is not specified as a broker. Only brokers (that is, nuoagent processes running as brokers and not as agents) can mediate NuoDB client connections.

Solution

Redirect the connection to a host that is running a broker.