Database client
A database client for VS Code that needs no setup
Every driver ships inside the extension and the cloud APIs need no SDK, so there's nothing else to install. Browse, edit rows and run queries locally or on AWS, Azure and Google Cloud.
- 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 - Amazon Redshift
redshift://SQL - Amazon DynamoDB
dynamodb://PartiQL - Azure Cosmos DB
AccountEndpoint=SQL queries - Cloud Spanner
spanner://GoogleSQL - Firestore
firestore://SQL-like queries - BigQuery
bigquery://GoogleSQL
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 | 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 |
| Amazon Redshift | redshift://user:pass@cluster.….redshift.amazonaws.com:5439/dev | SQL | Tables with a primary key | Yes |
| Amazon DynamoDB | dynamodb://ACCESS_KEY:SECRET@us-east-1 or ?profile=dev | PartiQL | Yes | — |
| Azure Cosmos DB | AccountEndpoint=https://….documents.azure.com:443/;AccountKey=…; | SQL queries | Yes | — |
| Cloud Spanner | spanner://project/instance/database | GoogleSQL | Yes | — |
| Firestore | firestore://project | SQL-like queries | Yes | — |
| BigQuery | bigquery://project/dataset | GoogleSQL | — | 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.
Cloud too. Amazon RDS and Aurora, Azure SQL Database, Azure Database for PostgreSQL and MySQL, Cloud SQL and AlloyDB connect through the matching engine with TLS on. Sign in with keys, IAM database authentication, Microsoft Entra ID, AWS profiles or gcloud credentials.
Edit anything. Tables without a primary key are edited through PostgreSQL's ctid, Oracle's ROWID or SQLite's rowid.