The database address changes: does the AI connection follow?

Copied connection details don't follow the original
Over the weekend, the database server moved to new hardware. The database management platform already lists the new address, but on Monday morning a revenue question to the AI ends in a connection failure. When this database was connected to OwlAI, an administrator typed in its address, port, account, and password by hand, and that copy does not change when the server moves. The same is true of a failover or a scheduled password rotation: each time, someone has to fix the connection on the OwlAI side.
With OwlDB, that work goes away. OwlAI picks the database from the list OwlDB manages and does not receive connection details. OwlDB makes the connection, so whatever changes on the database side, there is nothing to fix in OwlAI.
OwlAI connects to your databases on its own
Without OwlDB, OwlAI connects directly to PostgreSQL, MySQL, MariaDB, Oracle, and Tibero, and it reaches databases deep inside the internal network through SSH tunnels and bastions (“The bastion gets one key line that only forwards to the database, not an account”). Passwords for direct connections are kept in OwlAI's vault with envelope encryption, where the key that locks the password is itself locked with another key (“Database backups carry stored passwords, so the key lives elsewhere”). For a handful of databases, that is all you need.
The burden shows up when there are dozens of databases and a management platform already keeps their list and connection details. You copy the same information into OwlAI and have to bring the two back in line every time the original changes. OwlDB does not replace direct connections. It lets a company that already manages its databases with OwlDB stop managing the same information twice. A single OwlAI can use directly connected databases and OwlDB-connected databases side by side.
Picking from the OwlDB list completes the connection
When you connect through OwlDB, what the administrator sees in OwlAI is the list of databases OwlDB manages. Each database's identifier, name, and engine type come from OwlDB, and the administrator picks which of them to open to the AI. There are no fields for an address, account, or password.
At query time, OwlAI tells OwlDB only which database to run on, and OwlDB makes the actual connection. So the OwlAI settings stay as they are when any of the following happens on the database side.
- If a server moves and its address changes, OwlDB connects to the new address.
- If a failover happens, OwlDB picks the node to run on according to the node roles at that moment (“The standby database: can it take AI queries off production?”).
- If an account password changes, there is no setting to fix in OwlAI.
Security reviews lose one place where passwords are kept
For a database connected through OwlDB, OwlAI has no password to keep in the first place. Even if the OwlAI server were compromised, this database's password could not be pulled from it. When a security review asks "where, and in how many places, do you keep database passwords?", there is one fewer place to answer for.
Responsibility for managing databases also sits in one place. OwlDB manages which databases exist and who connects with which account, and OwlAI handles what to ask of them.
What to check before adoption
Settle these three things before you start with OwlDB connections.
- Which databases registered in OwlDB to open to the AI
- Whether to move databases already registered as direct connections over to OwlDB connections
- Which tables to open per role on OwlDB-connected databases (“Open a database to one team. Do the off-limits tables come along?”)
What technology solves this?

Engineering Notes · Database connections and OwlDB
OwlDB connections hold a database ID instead of credentials
To open a company database to the AI, an administrator enters the host, port, account and password into OwlAI.

Engineering Notes · Database connections and OwlDB
Two SQL executors, one set of checks and one result format
OwlAI has two ways to run SQL against a customer database.
More in Better with OwlDB

Insights · Better with OwlDB
Open a database to one team. Do the off-limits tables come along?
An administrator opens the business database to the sales role.

Insights · Better with OwlDB
Could one AI query slow down your order screen?
When the AI starts scanning a table of hundreds of millions of rows on your production database with no filter…

Insights · Better with OwlDB
The standby database: can it take AI queries off production?
Ask for "sales by region last month," and the AI doesn't pull the answer right away.