# bytebase/bytebase

Database governance built for humans and agents — controlling changes and access across every major database.

Repository: https://github.com/bytebase/bytebase
Canonical: https://ross.abutalabs.com/products/bytebase
Homepage: https://www.bytebase.com
Language: Go
License: NOASSERTION
License Family: other
Topics: mysql, tidb, postgresql, cicd, sql-client, oracle, sqlserver, schema-migrations, gitops, flyway, liquibase, devsecops, data-masking, data-security, security, database-access, mongodb, database-governance, data-governance, devops
Last push: 2026-08-26T23:54:49+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 97, longevity 100
- inputs: {"age_days": 2044, "days_push": 7, "days_rel": 20, "gap_med": 13.0, "n_releases_24m": 51}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14419, forks 973 (observed 2026-08-28T04:11:06.975976+00:00)

## What it is
Bytebase is an open-source database governance platform that acts as a control plane between users (humans and AI agents) and databases, covering change management, access control, and compliance. It supports PostgreSQL, MySQL, SQL Server, Oracle, MongoDB, Redis, and many other databases, and offers self-hosted deployment via Docker or Kubernetes plus a paid cloud offering.

## Use cases
- manage database schema migrations with review and approval workflows
- control and audit who can access production databases
- enforce SQL standards with lint rules before deployment
- apply dynamic data masking based on user roles
- run database-as-code GitOps workflows with GitHub or GitLab
- give AI agents governed database access via MCP
- grant just-in-time time-boxed database access
- maintain an audit trail of all database changes and queries

## When to choose
- your team needs centralized schema migration and change approval across many databases
- you must enforce database access control, masking, and audit logging for compliance
- you want a self-hosted alternative to stitched-together migration scripts, SQL clients, and ticketing
- you want to safely expose database operations to AI agents or IDEs

## When to avoid
- you only need a lightweight standalone migration tool like Flyway or Liquibase without governance workflows
- you need a general-purpose SQL IDE for ad-hoc querying rather than governed operations
- you require advanced features like dynamic data masking or enterprise SSO without a paid plan

## Facets
- artifact type: application
- maturity: active
- function: database, web-framework, mcp, security, workflow-automation, configuration-management, ci-cd
- domain: databases, security, developer-tools, self-hosted
- platform: self-hosted, go, cloud
- tags: database-governance, schema-migration, sql-review, data-masking, database-access-control, gitops, audit-logging, text-to-sql, rbac, database-devsecops, devops, data-engineering, docker, kubernetes, web-server

## Member repositories
- bytebase/bytebase (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:06.975976+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:12:35.148257+00:00, confidence not recorded.
  - readme: https://github.com/bytebase/bytebase (fetched 2026-08-28T04:11:06.975976+00:00, sha 2b8b2dc4e623)
  - homepage: https://www.bytebase.com (fetched 2026-08-29T08:06:03.631233+00:00, sha 945e09994701)
  - site_page: https://docs.bytebase.com/integrations/terraform/overview (fetched 2026-08-29T08:06:03.640059+00:00, sha 290984f5920a)
  - site_page: https://docs.bytebase.com/integrations/mcp (fetched 2026-08-29T08:06:03.642085+00:00, sha 15d8ec983c2c)
  - site_page: https://www.bytebase.com/pricing (fetched 2026-08-29T08:06:03.635026+00:00, sha 73c83346ee46)
  - site_page: https://www.bytebase.com/integrations (fetched 2026-08-29T08:06:03.637792+00:00, sha 76642936b548)
- Data as of 2026-08-30T08:39:29.467469+00:00.
