Connect Vertica
Give Querio a dedicated Vertica login, connect to the SQL endpoint, and verify access to an approved table.
Connect Vertica with a dedicated database login, then check that Querio can read the tables you want to analyze.
Before you start
You need permission to manage datasources and credentials in Querio. Ask your Vertica administrator for the SQL hostname, port, database name, TLS requirements and approved schemas and tables. Choose a small result you can check independently under the same database identity.
1. Prepare a read-only user
Have an administrator create a dedicated user and grant access to the approved data. For example:
CREATE USER querio_reader IDENTIFIED BY 'REPLACE_WITH_SECRET';
GRANT USAGE ON SCHEMA reporting TO querio_reader;
GRANT SELECT ON TABLE reporting.orders TO querio_reader;Replace the synthetic password, schema and table names. USAGE allows access to the schema; SELECT allows reading the table. Repeat the grants for each approved schema and table. Review inherited roles and existing permissions so the identity has only the access you intend. See Vertica's CREATE USER, schema privileges and table grants.
Enter the password in Querio's connection form. Keep it out of prompts, screenshots and shared notes.
2. Gather the endpoint and TLS requirements
Use the database's SQL hostname and port. The Vertica client port defaults to 5433; confirm the port for your deployment with its administrator. See the Vertica Python driver's connection options. The Management Console website is an administration interface; its URL is not the database connection string.
Confirm that Querio can reach the SQL endpoint. Use Copy IP Address in the datasource form and have your administrator allow the applicable Querio outbound addresses through the database's firewall or security group. Access from your laptop alone does not confirm access from Querio.
Ask whether the server certificate is trusted by Querio's execution environment and matches the SQL hostname. Coordinate private networking, private CA or client-certificate requirements with Querio before connecting. The shared SSH Tunnel form supports PostgreSQL and MySQL clients; see provider boundaries.
3. Connect and test
- Open Settings > Datasources > Add datasource, choose Internal, and enter a unique Slug such as
vertica-analytics. Add an optional Name. - Choose Vertica as Database type.
- Enter the complete Connection string, replacing the example host, database and credentials:
vertica+vertica_python://querio_reader:ENCODED_PASSWORD@vertica.example.com:5433/analytics?tlsmode=verify-full- Optionally enter Schema, such as
reporting. Use the schema name without SQL quotation marks. This sets the search path for unqualified table names; database grants still control access. - Select Test connection. Resolve any failure, then select Create. Querio tests the connection again before saving it.
Percent-encode reserved characters in URI credentials. For example, the synthetic password p@ss:word becomes p%40ss%3Aword.
The example uses tlsmode=verify-full to require TLS and validate the server certificate and hostname. Private certificate authorities require a CA file available to Querio's execution environment through the tls_cafile connection option. A file on your laptop is not available to Querio. See the Vertica Python driver's TLS options and Vertica connection reference.
4. Add tables and run a query
Review who can query the datasource. The first credential is initially assigned to Everyone. Each intended user needs datasource permission and exactly one distinct authorized credential; see credential selection.
Open Context, select the Vertica datasource and choose Add tables. Select the approved schemas or tables, confirm Add, and check that the expected tables and columns appear. See Add your tables.
As an intended user, start an Explore with the Vertica datasource selected and ask for a small, filtered read. Inspect the generated SQL and result. For example, replace these names and ID with a record you can verify:
SELECT order_id, status
FROM reporting.orders
WHERE order_id = 1001
LIMIT 1;Compare the returned row with an independent result under the same database identity and filters. A successful connection test does not prove table access or metadata discovery. An empty catalog can also mean that the database has no tables yet. See datasource checks.
If a check fails
| Symptom | Next check |
|---|---|
| Timeout or unreachable host | Check the SQL hostname, port, DNS, firewall and approved source addresses. |
| Authentication failure | Check the database name, username, password, account status and percent-encoding in the connection string. |
| Certificate or TLS failure | Check the endpoint hostname, certificate chain and runtime trust with Querio. Keep certificate validation enabled. |
| Missing tables | Confirm that tables exist in the target database and schema, check USAGE and SELECT grants, and review errors when adding tables. |
| Connection test succeeds but a table query fails | Check the saved identity's access to the specific table or view and any database policies. |
Intended user gets 403 or a credential-conflict 409 | Check datasource permission and credential assignments in Groups. |
See the Vertica connection reference for result type handling. Continue with Analyze your data, then Improve context with table descriptions, relationships and business definitions.
Last updated on November 27, 2026