Database client
A database client for VS Code that needs no setup
Every driver ships inside the extension, so there's nothing else to install. Browse, edit rows and run queries on all ten.
- PostgreSQL
postgresql://SQL - MySQL
mysql://SQL - MariaDB
mariadb://SQL - SQL Server
sqlserver://T-SQL - Oracle
oracle://SQL, PL/SQL - SQLite
sqlite:///SQL - MongoDB
mongodb+srv://mongosh-style - Redis / Valkey
redis://Redis commands - ClickHouse
clickhouse://SQL - CockroachDB
cockroachdb://SQL
Supported databases and connection strings
Paste any of these into the connection form, or fill in host, user and password instead. DATABASE_URL=… lines and jdbc: URLs are accepted too.
| Database | Connection string | Console | Edit rows | Cancel queries |
|---|---|---|---|---|
| PostgreSQL | postgresql://user:pass@host:5432/db | SQL | Yes | Yes |
| MySQL | mysql://user:pass@host:3306/db | SQL | Yes | Yes |
| MariaDB | mariadb://user:pass@host:3306/db | SQL | Yes | Yes |
| SQL Server | Server=host,1433;Database=db;… or sqlserver://… | T-SQL | Yes | Yes |
| Oracle | oracle://user:pass@host:1521/SERVICE | SQL, PL/SQL | Yes | Yes |
| SQLite | sqlite:///path/to/app.db | SQL | Yes | — |
| MongoDB | mongodb://… or mongodb+srv://… | mongosh-style | Yes | find, aggregate |
| Redis / Valkey | redis://… or rediss://… | Redis commands | Yes | — |
| ClickHouse | clickhouse://user:pass@host:8123/db | SQL | Insert only | Yes |
| CockroachDB | cockroachdb://user@host:26257/db | SQL | Yes | Yes |
Step by step: how to connect to PostgreSQL, MySQL, MongoDB and Redis in VS Code, or the full Database Client reference.
Safe by default. Passwords live in your OS keychain, dropping a table asks you to type its name, and read-only connections refuse every write.
Edit anything. Tables without a primary key are edited through PostgreSQL's ctid, Oracle's ROWID or SQLite's rowid.