Connect to PQS directly

You can connect to the PQS using the JDBC thin client.

To connect to the PQS directly, you must use the JDBC URL syntax as shown here: jdbc:phoenix:thin:[key=value[;key=value...]]

You must provide the correct URL, serialization, and authentication key-values to interact with the Phoenix Query Server. Only HTTP access is supported and auto-TLS is not supported.

jdbc:phoenix:thin:url=http://localhost:8765;serialization=PROTOBUF; authentication=SPENGO;principal=pqs@EXAMPLE.COM;keytab=/etc/security/keytabs/phoenix.keytab