Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

bytebase

> 数据库
Open source

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

14.3K stars0 likes3 views
WebsiteGitHub

About

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

⚙️ Install • 📚 Docs • 🙋‍♀️ Book Demo

What is Bytebase?

Bytebase is the open-source database governance platform. It acts as a single control plane between your users — humans and AI agents — and your databases, governing change management, access control, and compliance so every change and query is reviewed, controlled, and recorded.

It replaces the disparate tools stitched across migration scripts, SQL clients, and ticketing systems, unifying database operations in a single platform.

Supported Databases and Integrations

Bytebase supports PostgreSQL, MySQL, SQL Server, Oracle, MongoDB, Redis, MariaDB, TiDB, Snowflake, ClickHouse, Spanner, OceanBase, and more — plus integrations spanning IaC, AI, identity providers, collaboration, ITSM, log streaming, and secret managers.

Key Features

Change Management

  • GUI-Based Workflow: Request, review, deploy, and rollback changes through a web console
  • GitOps Integration: Native GitHub/GitLab integration for database-as-code workflows
  • SQL Review: 200+ lint rules to enforce SQL standards and best practices

Access Control

  • Fine-Grained RBAC: Project and workspace-level roles and permissions
  • Just-in-Time Access: Time-boxed database access grants with automatic revocation
  • Dynamic Data Masking: Column-level masking applied based on user role at query time

Compliance

  • Audit Logging: Complete audit trail of all database activities
  • Codified Policy: Manage policies as code via Terraform Provider and API
  • Data Classification: Identify and tag sensitive data across your databases

AI

  • MCP Server: Connect AI agents and IDEs to Bytebase through the Model Context Protocol
  • Text-to-SQL: Generate and refine queries in the SQL Editor with AI assistance
  • Page Agent: Built-in AI assistant that guides or executes workflows from plain language requests

Quick Start

Docker

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

Kubernetes

bash
helm install bytebase bytebase/bytebase

Visit http://localhost:8080 and follow the setup wizard.

Documentation

  • Installation Guide
  • Tutorials
  • Terraform Provider
  • API Reference

Use Cases

For Development Teams

  • Implement database schema version control
  • Automate database deployments through CI/CD pipelines
  • Collaborate on database changes with review workflows

For DBAs

  • Centralize database management across all environments
  • Enforce organization-wide SQL standards and policies
  • Monitor and audit all database activities

For Security Teams

  • Control data access with column-level permissions
  • Implement data masking for sensitive information
  • Maintain compliance with audit trails

Community & Support

  • Twitter
  • Issue Tracker
  • FAQ

Contributing

We welcome contributions!

bash
# Setup a postgres database with user bbdev and database bbdev
export PG_URL=postgresql://bbdev@localhost/bbdev

# Start backend
alias r='go build -ldflags "-w -s" -p=16 -o ./bytebase-build/bytebase ./backend/bin/server/main.go && ./bytebase-build/bytebase --port 8080 --data . --debug'

# Start frontend
alias y="pnpm --dir frontend i && pnpm --dir frontend dev"

Comparisons

  • Bytebase vs Liquibase
  • Bytebase vs Flyway
  • Bytebase vs Jira
  • Bytebase vs DBeaver
  • Bytebase vs DataGrip
  • Bytebase vs Navicat
  • Bytebase vs CloudBeaver

Issues· 169 open

View all issuesOpen on GitHub
  • #2527

    Dependency Dashboard

    Updated Oct 1, 2026
  • #21545

    【BUG】Project Owner approval ignores database-scoped IAM conditions and allows cross-environment approval

    Updated Sep 30, 2026
  • #21548

    邀请 bytebase 加入 GithubStarMate,让更多人发现你的作品

    Updated Sep 30, 2026
  • #15342

    Rollout Succeeds but Triggers "Failed to Create Pending Task Runs" Error

    Updated Sep 29, 2026
  • #15043

    After upgrading from version 2.22.0 to 3.3.0, the Change Data process failed with the error: "ERROR: column sheet.database_id does not exist (SQLSTATE 42703)."

    Updated Sep 29, 2026
  • #11374

    SQL review doesn't execute all previous statements

    Updated Sep 29, 2026
  • #21318

    fix: executed statement truncated to 80 chars in changelog detail page

    Updated Sep 28, 2026
  • #13934

    Migrations with default boolean are failed as volatile

    Updated Sep 24, 2026
  • #21491

    [BUG] parse regex sql error

    Updated Sep 19, 2026
  • #21326

    [OceanBase] Materialized views are missing from schema and SELECT fails with masking resource-not-found error

    Updated Sep 3, 2026

> Tags

Gocicddata-governancedata-maskingdata-security

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库