Skip to content

Bytebase

Self-hosted control plane for reviewing and deploying database changes and access

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

87

Health

Thriving

Overview

Stars

14,738

Last commit

today

Nov 2026

Repository age

5 years

since Jan 2021

Latest version

3.25.0

Nov 2026

Contributors

–

9 active in 90 days

Releases

25

last 12 months

Language

TypeScript

Bytebase sits between your users, including AI agents, and your databases. It handles schema changes, query access and audit records in one web console. It supports PostgreSQL, MySQL, SQL Server, Oracle, MongoDB, Redis, MariaDB, TiDB, Snowflake, ClickHouse, Spanner and OceanBase, among others.

On the change side, you request, review, deploy and roll back changes in the console. GitHub and GitLab integration supports database-as-code workflows, and 200+ SQL lint rules enforce your standards. On the access side, it offers project and workspace roles, time-boxed access grants that revoke automatically, and column masking based on role at query time.

Compliance features include audit logging, data classification, and policy management through a Terraform provider and API. An MCP server connects AI agents and IDEs, and the SQL Editor has text-to-SQL. The backend is written in Go with a TypeScript frontend. You run it with Docker or Helm under the MIT license. It can stand in for a mix of migration scripts, SQL clients and ticket-based approval flows.

Who it's for

DBAs managing many databases across environments

One console covers change review, policy enforcement and activity auditing.

Skip if: You run a single small database and a plain migration tool is enough.

Development teams automating schema deployments in CI/CD

GitOps integration and review workflows keep schema changes versioned and approved.

Skip if: You want a lightweight CLI migration runner without a web service.

Security and compliance teams

Masking, time-limited access and audit trails control who sees sensitive columns.

Skip if: You need a full data-loss-prevention suite beyond database access.

The problem it solves

Database changes and queries often go through scripts, SQL clients and ticket threads with no single record. That makes review, access control and auditing hard to enforce. Bytebase puts them in one governed workflow.

Strengths

  • Supports 20+ database engines, including PostgreSQL, MySQL, Oracle and MongoDB
  • 200+ SQL lint rules for change review
  • Just-in-time access grants and role-based column masking
  • Terraform provider and API for policy as code
  • MIT license with Docker and Helm installs

Trade-offs

  • Heavier to run than a CLI migration tool
  • Focused on governance, not general database administration
  • Hosted plan exists, so some features may differ from self-hosting

Self-host Bytebase

Self-hostable
Yes
Hosted plan
From $20/month · pricing

Quick start

docker run --init \
  --name bytebase \
  --publish 8080:8080 \
  --volume ~/.bytebase/data:/var/opt/bytebase \
  bytebase/bytebase:latest

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Bytebase free?

The code is MIT licensed and you can self-host it at no cost. A paid hosted plan also exists.

How do I run it?

Start the Docker container, or install with Helm on Kubernetes. Then open port 8080 and follow the setup wizard.

Which databases does it support?

PostgreSQL, MySQL, SQL Server, Oracle, MongoDB, Redis, MariaDB, TiDB, Snowflake, ClickHouse, Spanner, OceanBase and more.

Does it work with Git?

Yes. It integrates with GitHub and GitLab for database-as-code workflows.

Similar tools in DevOps and infrastructure automation

GoCD

DevOps and infrastructure automation

Self-hosted CI/CD server with pipeline visualization and value stream maps

7.4k 988 today Active Apache-2.0

Replaces Jenkins

FlyEnv

DevOps and infrastructure automation

Desktop workspace for local PHP, Node, Python and database stacks on Windows, macOS, Linux

3.4k 399 yesterday Thriving BSD-3-Clause

semaphore

DevOps and infrastructure automation

Web UI for running Ansible, Terraform and OpenTofu jobs with scheduling and access control

14k 1.4k today Thriving MIT

strider

DevOps and infrastructure automation

4.6k 418 5 years ago Dormant Unknown

certimate

DevOps and infrastructure automation

Self-hosted ACME tool that issues, deploys and renews SSL certificates through visual

9.5k 930 6 days ago Thriving MIT