Skip to main content
Go to Connections, click Connect next to PlanetScale, and enter the host, database name, username, and password. Create a read-only password for the branch in PlanetScale first. If your PlanetScale Postgres database is only reachable from your private network, turn on SSH tunnel to connect through a bastion host: a public one, or an EC2 instance behind an EC2 Instance Connect Endpoint. See SSH tunnels for setup. Ordyn still verifies PlanetScale’s TLS certificate through the tunnel. Tunnels work with the Postgres engine only, not Vitess (MySQL).

Permissions

Create a read-only credential (Postgres: a role inheriting pg_read_all_data; Vitess: a password with the reader role) and provide its host, database, username and password.

Read-only queries

Answer data questions during investigations and measure the impact of open issues.
  • On the Postgres engine, pg_read_all_data reads every table in every database on the branch. To limit Ordyn to the schemas you choose, create the role without it and grant USAGE and SELECT on those schemas, as in the PostgreSQL setup.

How to grant

Replace the values in angle brackets. Permission catalog version 2026-10-16.1. See permission changes.

What Ordyn does with it

Answers data questions during investigations and measures the impact of open issues with live queries you can inspect.