Disclaimer: I work on LibreDB Studio, so this is self-promo. It's MIT licensed, there's no paid tier and we host nothing. I'm posting it here because the "what actually works" part further down is the bit I want picked apart.
It's a database client that runs as a container next to your databases, and you drive it from a browser. The shape is deliberate: a desktop client has to be installed on every machine you work from and needs its own route to the database from that machine. Here the only thing listening is the Studio container. That moves the exposure rather than removing it, and it's worth being blunt about which way: the Studio container ends up holding credentials for every database you point it at, which makes it the thing worth attacking. The OIDC bug further down is what that looks like when we get it wrong.
On first start it creates the admin account and writes the password to the container log, or you can set ADMIN_PASSWORD beforehand. If the database has its own Docker network, attach the container to that network and reach the server by its container name.
What it does, beyond the schema browsing every client does: diff two schemas and generate the migration SQL, read the execution plan, draw an ER diagram, and watch active sessions and slow queries. There's also a sandbox mode where the query really runs and you see the result, then it gets rolled back, so you can check what an UPDATE would touch before you let it stick. The sandbox only shows up on engines with real transactions, so there's no toggle on SQLite, Db2, ClickHouse or Couchbase, and it is refused on StarRocks, Doris and Databend because they report no transaction state for it to verify.
Engine count, because the number is misleading
The package ships 26 connection types. InfluxDB is counted twice in there, once for InfluxQL and once for SQL. Another 28 engines speak the wire protocol of one of those types and connect without a driver of their own, which is where 54 comes from. Speaking the same protocol is not the same as having the same catalog, though. The client reads the table list, sizes, indexes and plans out of each engine's own catalog, and that part differs between them, so a connection can succeed and the screen still come up empty.
Those 28 were the part we didn't know about, so we brought every one of them up in Docker and ran the same 15 introspection surfaces against each. 18 answered on all of them, 10 on some. What's usually missing is row counts, sizes and the monitoring panels.
The pair worth describing properly is StarRocks and Doris, because StarRocks is a fork of Doris and we got them wrong once. Both read zero straight after a load, and that is their own statistics collector being slow, not a gap: a 5-row table read 0 for about 4.5 minutes on StarRocks 3.3.22 and 45 seconds on 4.1.4, where Doris catches up in about a minute. We marked a healthy engine as broken over exactly that and only caught it on the second run. On top of the delay, StarRocks' sizes used to stay at zero forever, and that part was our bug rather than the engine's: StarRocks answers INDEX_LENGTH as NULL for every base table where Doris publishes a real 0, and our SQL summed DATA_LENGTH + INDEX_LENGTH, so NULL ate the whole figure. Fixed in September with a COALESCE, so sizes now track row counts on the same delay.
Where the two still genuinely part company is the panels: StarRocks has no information_schema.PROCESSLIST, so health and the active-session panel come up empty and the header badge reads Slow, while Doris answers both.
10 of the 26 types don't write at all. Three of them because the query language has no UPDATE: Druid, Elasticsearch and OpenSearch. The other seven are our call: Prometheus, Kafka, Neo4j, Qdrant, Oxia and InfluxDB, which again counts twice. Milvus sits outside that count, since the only write there is an admin loading or releasing a collection.
0.18.0, released October 5
Seven new engines: etcd, Oxia, Db2, Neo4j, Qdrant, Milvus and InfluxDB. Neo4j came with a tab that draws a graph from the query result. With SQLite or PostgreSQL storage you can now have as many local accounts as you want instead of the two we used to allow, give each one a role, and sign in with a passkey, though passkeys stay off until PASSKEY_ORIGIN names the address people open Studio at, and browsers only offer them over https or on localhost. The interface is still English only, there's no translation yet.
The same release fixes a security hole of our own, GHSA-8gc9-2gm6-5c7f, that you should know about if you run this. On any deployment with OIDC_ISSUER, OIDC_CLIENT_ID and OIDC_CLIENT_SECRET set, the signed oidc-state cookie that the login endpoint hands to any visitor was also accepted as the session cookie, on every path outside /admin, for its five-minute life, and a visitor could ask for a new one as often as they liked. So unauthenticated access, no race needed. It was signed with the same JWT_SECRET as the session and nothing checked that the payload was a session. It landed with OIDC login in 0.7.0 and ran through 0.17.0. A deployment that never set those three variables never issued the cookie, so local sign-in on its own was not exposed. If you have those three variables set, upgrade.
github.com
Code: GitHub - libredb/libredb-studio: One browser tab for PostgreSQL, MySQL, Oracle, SQL Server, MongoDB, Redis, SQLite, Couchbase, ClickHouse, Druid, DuckDB, Turso and more. An open-source SQL IDE with SSO, audit trail and AI-assisted queries MIT licensed, with nothing held back behind an enterprise wall.
If you point it at a database we measured wrong, I want to hear which screen came up empty. That's the kind of report that fixes our compatibility matrix.
It's a database client that runs as a container next to your databases, and you drive it from a browser. The shape is deliberate: a desktop client has to be installed on every machine you work from and needs its own route to the database from that machine. Here the only thing listening is the Studio container. That moves the exposure rather than removing it, and it's worth being blunt about which way: the Studio container ends up holding credentials for every database you point it at, which makes it the thing worth attacking. The OIDC bug further down is what that looks like when we get it wrong.
docker run -d -p 3000:3000 ghcr.io/libredb/libredb-studio:0.18.0On first start it creates the admin account and writes the password to the container log, or you can set ADMIN_PASSWORD beforehand. If the database has its own Docker network, attach the container to that network and reach the server by its container name.
What it does, beyond the schema browsing every client does: diff two schemas and generate the migration SQL, read the execution plan, draw an ER diagram, and watch active sessions and slow queries. There's also a sandbox mode where the query really runs and you see the result, then it gets rolled back, so you can check what an UPDATE would touch before you let it stick. The sandbox only shows up on engines with real transactions, so there's no toggle on SQLite, Db2, ClickHouse or Couchbase, and it is refused on StarRocks, Doris and Databend because they report no transaction state for it to verify.
Engine count, because the number is misleading
The package ships 26 connection types. InfluxDB is counted twice in there, once for InfluxQL and once for SQL. Another 28 engines speak the wire protocol of one of those types and connect without a driver of their own, which is where 54 comes from. Speaking the same protocol is not the same as having the same catalog, though. The client reads the table list, sizes, indexes and plans out of each engine's own catalog, and that part differs between them, so a connection can succeed and the screen still come up empty.
Those 28 were the part we didn't know about, so we brought every one of them up in Docker and ran the same 15 introspection surfaces against each. 18 answered on all of them, 10 on some. What's usually missing is row counts, sizes and the monitoring panels.
The pair worth describing properly is StarRocks and Doris, because StarRocks is a fork of Doris and we got them wrong once. Both read zero straight after a load, and that is their own statistics collector being slow, not a gap: a 5-row table read 0 for about 4.5 minutes on StarRocks 3.3.22 and 45 seconds on 4.1.4, where Doris catches up in about a minute. We marked a healthy engine as broken over exactly that and only caught it on the second run. On top of the delay, StarRocks' sizes used to stay at zero forever, and that part was our bug rather than the engine's: StarRocks answers INDEX_LENGTH as NULL for every base table where Doris publishes a real 0, and our SQL summed DATA_LENGTH + INDEX_LENGTH, so NULL ate the whole figure. Fixed in September with a COALESCE, so sizes now track row counts on the same delay.
Where the two still genuinely part company is the panels: StarRocks has no information_schema.PROCESSLIST, so health and the active-session panel come up empty and the header badge reads Slow, while Doris answers both.
10 of the 26 types don't write at all. Three of them because the query language has no UPDATE: Druid, Elasticsearch and OpenSearch. The other seven are our call: Prometheus, Kafka, Neo4j, Qdrant, Oxia and InfluxDB, which again counts twice. Milvus sits outside that count, since the only write there is an admin loading or releasing a collection.
0.18.0, released October 5
Seven new engines: etcd, Oxia, Db2, Neo4j, Qdrant, Milvus and InfluxDB. Neo4j came with a tab that draws a graph from the query result. With SQLite or PostgreSQL storage you can now have as many local accounts as you want instead of the two we used to allow, give each one a role, and sign in with a passkey, though passkeys stay off until PASSKEY_ORIGIN names the address people open Studio at, and browsers only offer them over https or on localhost. The interface is still English only, there's no translation yet.
The same release fixes a security hole of our own, GHSA-8gc9-2gm6-5c7f, that you should know about if you run this. On any deployment with OIDC_ISSUER, OIDC_CLIENT_ID and OIDC_CLIENT_SECRET set, the signed oidc-state cookie that the login endpoint hands to any visitor was also accepted as the session cookie, on every path outside /admin, for its five-minute life, and a visitor could ask for a new one as often as they liked. So unauthenticated access, no race needed. It was signed with the same JWT_SECRET as the session and nothing checked that the payload was a session. It landed with OIDC login in 0.7.0 and ran through 0.17.0. A deployment that never set those three variables never issued the cookie, so local sign-in on its own was not exposed. If you have those three variables set, upgrade.
Release 0.18.0 · libredb/libredb-studio
LibreDB Studio 0.18.0 adds eight connection types for seven engines: etcd, IBM Db2, Neo4j with a Graph tab for Cypher results, Qdrant, Milvus, InfluxDB as two connection types, and Oxia. It now con...
If you point it at a database we measured wrong, I want to hear which screen came up empty. That's the kind of report that fixes our compatibility matrix.