Managed · PG + MySQL

Your DigitalOcean Managed Databases data, where work happens.

DigitalOcean Managed Databases — PostgreSQL or MySQL. Paste the connection string from the DO control panel.

Use the results in Excel, Google Sheets, AI tools and your apps through the Database REST API.

Every connector type is on Free. Start with 2 data sources and 1 agent.

DigitalOcean Managed DatabasesYour existing database connection
Inside your networkQuery Streams Network Agent

Run read-only queries inside your network.

Read-only queries · outbound connection

Source credentials stay on the agent. Your tools receive query results.

Source → agent → allowed results

Query Streams reads DigitalOcean Managed Databases from Microsoft Excel, Google Sheets, Power BI, AI assistants over MCP and a REST endpoint through one read-only connection. Paste the connection string from the cluster Overview and the host, port, database, user and password fill in — including the password, which the control panel only shows inside that string. Direct is port 25060 and a connection pool is 25061, and the difference is recognised rather than something you configure.

  • Pool and direct told apart by port
  • Password lifted from the pasted string
  • PostgreSQL pools auto-adapted

Connect DigitalOcean with the right settings.

Keep the connection on the Network Agent. These are the details specific to DigitalOcean.

Host
db-<cluster>-do-user-<id>-0.<x>.db.ondigitalocean.com
Ports
25060 direct, 25061 for a connection pool — the same host either way
Engines
PostgreSQL and MySQL. The connection is saved as the engine you picked; DigitalOcean is kept as the badge
TLS
Required by DigitalOcean for both engines. For PostgreSQL the agent also requires it for every .db.ondigitalocean.com host; for MySQL the Use SSL checkbox carries it, on by default
Pooled behaviour
On 25061 the agent pins prepared statements off for PostgreSQL, which is what transaction-mode pooling needs. MySQL through a pool gets no special handling
Defaults
doadmin and defaultdb, which is what a fresh cluster has
Password
Only shown inside the connection string in the control panel — paste the string and it is read out of it
Paste formats
postgresql:// and mysql:// URIs from the cluster Overview
Other DO products
Managed Redis, Kafka, MongoDB and OpenSearch are not SQL databases and are not connectable here

The port split is the nicest thing about DigitalOcean's design from a connector's point of view. Most providers either hide pooling behind a separate hostname or make it a per-service port you cannot predict; DigitalOcean uses 25060 and 25061 on the same host, every time. That means pasting a string is enough — the mode is inferred, the pooled behaviour is switched on, and there is nothing for you to know in advance.

The asymmetry between the two engines is stated deliberately rather than smoothed over. The agent carries specific handling for DigitalOcean PostgreSQL — required TLS regardless of the checkbox, prepared statements pinned off on the pool port — and carries none for DigitalOcean MySQL, which is served by the general MySQL path. Both work; only one has a second layer of protection behind the setting, and a page that implied otherwise would be describing something the code does not do.

For a cross-source query the qualifier follows the engine. A DigitalOcean PostgreSQL connection you called do_app is written do_app.public.orders; on MySQL the database name takes that slot instead. Either way it joins to a folder of CSVs, an on-premises system of record or a billing API in one read-only statement, with nothing copied and nothing scheduled.

Provider reference: www.digitalocean.com

Built for how DigitalOcean works.

Direct or pooled, told apart by the port

DigitalOcean puts connection pools on a different port of the same host, which makes the distinction unusually clean — there is no separate hostname to get wrong.

  • Port 25060 is the database itself. Port 25061 is a connection pool, running PgBouncer in transaction mode by default.
  • Paste either string and the mode follows the port automatically; you are not asked to know which one you copied.
  • Choosing pooled with any other port, or direct on 25061, is rejected in the form with the reason rather than failing later as a timeout.
  • For PostgreSQL pools the agent also adapts: it pins prepared statements off, because transaction-mode pooling can hand your next statement to a different backend and a named prepared statement will not be there.

PostgreSQL and MySQL are not treated identically

Both engines are on the one card, but the agent has specific handling for one of them and generic handling for the other. It is worth being straight about which is which.

  • DigitalOcean requires TLS for managed databases at its end, whichever engine you use — that is the platform's rule and it applies to both.
  • For PostgreSQL the agent additionally requires TLS itself for every .db.ondigitalocean.com host, so a string that lost its sslmode parameter in the clipboard still connects encrypted.
  • For MySQL the Use SSL checkbox is what carries it. It is on by default and should stay on; there is no second belt behind that brace.
  • The prepared-statement handling on port 25061 is likewise PostgreSQL-specific. A MySQL connection through a pool is a plain connection through a pool.

The password is in the string, and only there

This trips people up on DigitalOcean more than on any other provider, so the card is built around it.

  • The control panel shows the password inside the connection string and nowhere else. Pasting the string is the path of least resistance; retyping it from memory is not an option.
  • The paste box accepts postgresql:// and mysql:// and rejects anything else with a message telling you where the right one lives.
  • A password carrying leading or trailing whitespace is flagged, because it is a common copy artifact and it fails as an unhelpful authentication error.
  • doadmin and defaultdb are prefilled because that is what a new cluster ships with — both are yours to change, and a read-only user is the better habit.
-- Read-only, direct or through the pool, same statement
SELECT   c.name,
         COUNT(o.id)   AS orders,
         SUM(o.amount) AS revenue
FROM     customers AS c
JOIN     orders    AS o ON o.customer_id = c.id
GROUP BY c.name
ORDER BY revenue DESC;

From connection to useful results.

  1. Install the Network Agent wherever suits you. A DigitalOcean Droplet in the same region keeps the hop short, but any machine with outbound HTTPS works — there is no inbound rule to add.
  2. Paste the connection string from the cluster Overview. It is the only place the real password appears, so pasting it saves you generating a new one.
  3. Check whether you pasted the direct string or the pool. Port 25060 is direct, 25061 is a connection pool, and the card keeps the port and the mode in agreement.
  4. Add a database user with SELECT if you would rather not use doadmin. The card prefills doadmin and defaultdb because that is what a fresh cluster has.
  5. Save, and Microsoft Excel, Google Sheets, Power BI, MCP and REST all read the cluster through the one connection.

Put your DigitalOcean results to work.

One connection serves your spreadsheets, apps and AI tools. Share permission to run a saved query; recipients see the allowed results, with the SQL and source login hidden.

For your team, vendors and partners

Ask a question in plain English. Nova already knows your DigitalOcean tables, writes and runs the SQL, explains the answer and charts it — no query to write, no credentials to hand over.

How Nova works

Share a live DigitalOcean result with anyone — a colleague, a vendor, a partner — as a bookmarkable grid that re-runs fresh when opened, on a phone, a tablet or a desktop. They see the results, never the SQL or the credentials.

How the Data Viewer works

For apps and systems

Publish a DigitalOcean query as an authenticated JSON endpoint any application can call, with an OpenAPI 3.1 spec and ready-made Postman, Insomnia and Hoppscotch collections. No database port is opened.

PostgreSQL guide

Paste the generated Power Query M into the Power BI Advanced Editor and the report reads live DigitalOcean results over HTTPS — no ODBC driver, no database port opened.

Explore Power BI

For AI tools

Delivered to people

Join DigitalOcean to the rest of your data.

Bring databases, business APIs, files and logs into one read-only query. Every connector supports Federated Queries.

Name the connections and tables. Query Streams handles the source queries and combines the results.

Explore Federated Queries
Illustrative cross-source query
-- nothing copied, nothing merged, nothing scheduled
SELECT   c.region, COUNT(*) AS orders, SUM(i.amount_due) AS invoiced
FROM     do_app.public.orders1    f
JOIN     erp_sql.dbo.customers2   c ON c.id = f.customer_id
JOIN     billing.stripe.invoices3 i ON i.customer = c.stripe_id
GROUP BY c.region
ORDER BY invoiced DESC;

Use your own connection, schema, table and column names.

Shared across the connector family.

True of every database connector

  • Outbound only — the agent opens one encrypted connection out to Query Streams. No inbound port to forward, no VPN, no IP allowlist, nothing about your database exposed to the internet.
  • Credentials stay put — the database username and password live on the machine you installed the agent on. Query Streams never receives them and cannot reach your database on its own.
  • Read-only, enforced — one statement at a time, SELECT and friends only. A write is rejected on your own machine before it is ever sent to the server, rather than relying on a permission somebody remembered to set.
  • Deploy as many agents as you like — one per site, region or cloud. Every data source they can see arrives in a single dropdown, so nobody has to know which agent hosts what.

What you get once a query is saved

  • Share the capability, not the SQL — a colleague or an outside partner can run your query and change its filters without ever seeing the statement behind it.
  • Filters from either direction — declare them yourself as @variables, or let the connector spot the literal values already sitting in your WHERE clause and offer those as dropdowns.
  • Read it from anywhere — Microsoft Excel, Google Sheets, Power BI, the REST API, AI assistants over MCP, the Query Builder and Nova all read the same saved query.
  • Run several at once — five saved queries into five worksheet tabs, streamed concurrently, however large the results.
  • Join it to anything else you have connected — another database, a business API, or a folder of files, in one read-only statement.

Questions about DigitalOcean Managed Databases

Where can I use DigitalOcean Managed Databases query results?

Use DigitalOcean Managed Databases results in Excel, Google Sheets, the Data Viewer, your apps through the Database REST API, and AI tools through MCP or Nova. Saved results also feed supported Automation destinations, reports and alerts. Destination availability and allowances depend on your plan.

Do I need to open an inbound port for DigitalOcean Managed Databases?

No. Install the Network Agent on a machine that can reach DigitalOcean Managed Databases. The agent connects outward to Query Streams; no inbound port or VPN is needed. Your source must still allow the agent machine to connect under its own access rules.

Can Query Streams change data in DigitalOcean Managed Databases?

No. Queries are enforced read-only on the Network Agent before execution. Source credentials stay on that machine. Sharing grants permission to run a saved query and receive its results; it does not reveal the SQL or database login.

What do I need to connect DigitalOcean Managed Databases?

Host: db-<cluster>-do-user-<id>-0.<x>.db.ondigitalocean.com. Ports: 25060 direct, 25061 for a connection pool — the same host either way. Engines: PostgreSQL and MySQL. The connection is saved as the engine you picked; DigitalOcean is kept as the badge. TLS: Required by DigitalOcean for both engines. For PostgreSQL the agent also requires it for every .db.ondigitalocean.com host; for MySQL the Use SSL checkbox carries it, on by default

Can I join DigitalOcean Managed Databases to other connected sources?

Yes. Federated Queries support every connector type, including databases, business APIs, files and logs. Name the connections and tables in one read-only query. Query Streams translates the source portions as needed and combines their results. See how Federated Queries work.

Does DigitalOcean Managed Databases use the PostgreSQL connector?

Yes. DigitalOcean Managed Databases uses the PostgreSQL wire protocol. Its provider preset supplies the relevant connection settings. The linked PostgreSQL guides apply to the shared workflow; use the provider-specific connection details on this page for your endpoint and security requirements.

Put DigitalOcean where the work happens.

Start with Free: every connector type, 2 data sources and 1 Network Agent. Add plan allowances as your needs grow.