Prerequisites
- A CockroachDB Cloud account with a cluster
- A VexiData account
Connect CockroachDB to VexiData
1
Get your connection details
- Log in to the CockroachDB Cloud Console
- Select your cluster
- Click the Connect button (top right)
- Select Parameters only to view individual values:
CockroachDB uses port 26257, not the standard PostgreSQL port
5432.2
Add VexiData to the IP allowlist
CockroachDB Cloud blocks all connections by default. You must add VexiData’s IP address.
- Go to your cluster’s Networking page
- Click the IP Allowlist tab
- Click Add Network
- Add VexiData’s IP:
- Select CockroachDB Client for the access type
- Click Apply
IP allowlist configuration is mandatory. Your connection will fail without this step.
3
Add the connection in VexiData
- Go to Integrations in VexiData
- Under Databases, click Connect on the PostgreSQL card (CockroachDB is PostgreSQL-compatible)
- Fill in the details:
4
Test and save
Click Test & Save Connection. VexiData checks that it can reach your database, saves the connection, and starts analyzing your schema.
Troubleshooting
Connection timed out
Connection timed out
- Verify VexiData’s IP is in your cluster’s IP Allowlist — CockroachDB blocks all connections by default
- Make sure you’re using port 26257, not
5432 - Check that your cluster is running in the CockroachDB Console
Authentication failed
Authentication failed
- Double-check your credentials from the Connect dialog in the CockroachDB Console
- If you’ve forgotten your password, reset it from the cluster’s SQL Users page
No tables visible after connecting
No tables visible after connecting
- Confirm your tables are in the
publicschema - Check the correct database name — CockroachDB uses
defaultdbby default
Some queries behave differently than PostgreSQL
Some queries behave differently than PostgreSQL
- CockroachDB is PostgreSQL wire-compatible but not identical. Most standard queries work, but some PostgreSQL-specific features (like certain data types or extensions) may not be supported