Google Cloud SQL provides managed PostgreSQL, MySQL, and SQL Server instances. Dora connects to Cloud SQL PostgreSQL and MySQL instances using the public IP after you authorize your machine's IP in the Cloud Console.
The simplest path from a desktop app is to add your IP to the authorized networks and connect to the public IP directly — no proxy needed.
PostgreSQL connection string
postgresql://[USER]:[PASSWORD]@[PUBLIC-IP]:5432/[DBNAME]Steps
1.Find the public IP
In the Google Cloud Console, go to SQL → your instance → Overview. Copy the "Public IP address" under Connect to this instance.
2.Add your IP to the allowlist
Under Connections → Networking, add your machine's IP address (or CIDR range) as an Authorized network. Without this, connections are rejected at the network level.
3.Note your credentials
Go to Users to confirm the database user and ensure you have the password. The default user is "postgres" for Postgres instances.
4.Add a connection in Dora
Create a new connection in Dora. Use the public IP as host, 5432 as port (Postgres) or 3306 (MySQL), your username, password, and database name.
5.Test and connect
Click Test, then Connect. Your Cloud SQL tables and schemas appear in the Dora sidebar.
Good to know
- If you prefer not to expose the public IP, install the Cloud SQL Auth Proxy on your machine and point Dora at localhost:5432 — it handles authentication and encryption automatically.
- SSL is optional for the public IP path but recommended. Cloud SQL supports sslmode=require; you can enable it in the Dora connection dialog.
- Cloud SQL also supports private IP access via VPC peering. For that path, configure Dora's SSH tunnel to jump through a bastion host inside the same VPC.