The Open Source Database Proxy For Modern Teams

SessionDB gives your team secure, AI-powered access to MySQL and Postgres—without sharing a single password.

Open-source, self-hosted, scalable.

SessionDB Query Runner with schema explorer and SQL editor
SessionDB Audit Logs tracking user activities and query executions

Built for modern teams—from startups to enterprises.

How it works

Connect

Link your MySQL and Postgres instances.

Proxy

SessionDB masks credentials and acts as the secure gateway.

Govern

Approve requests, audit every query, and use AI to write SQL (BYOK).

Available now

The open source core you can use today.

Secure Query Runner

Browser-based SQL execution for MySQL and Postgres with permission checks and history.

Schema Discovery

Automatic metadata sync: see tables, columns, and types without exposing DB credentials.

Identity & User Management

Users, roles, and granular permissions so only the right people reach the gateway.

Data-Level Access Control

Control access by instance → database → schema → table → column.

Audit Logging

Full transparency: every query and access change is logged for compliance.

Approval Workflow

Human-in-the-loop: request database access and credentials; approvers grant or deny.

DB User Provisioning

Create and manage database users and credentials through the gateway.

Instance & AI Config

Connect your DBs and bring your own AI keys (BYOK) for SQL generation and explanation.

Multi-Database Support

One gateway for PostgreSQL and MySQL via a pluggable dialect layer.

Query History & Scripts

Run SQL, save scripts, and keep a searchable history of executions.

1-CLI Infrastructure

Instantly download, deploy via Systemd, and manage configs using the scli binary.

Roadmap

In development — notify me when ready.

PLANNED

Live Session Management

Monitor and terminate active DB connections in real time.

PLANNED

Alerting & Metrics

Health dashboards and notifications for database anomalies.

PLANNED

Reporting

Automated insights and query performance history.

PLANNED

TTL & Time-Based Access

Time-bound credentials and expiring grants for temporary access.

The core proxy and query engine will always remain open source. Advanced governance features are currently in development.

We're building a better way.

SessionDB is built by and for the community. The core proxy and query engine will always remain open source. Star us on GitHub to follow our progress toward the 1.0 release.

Join the community

GitHub Discord