> ## Documentation Index
> Fetch the complete documentation index at: https://bunny.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Bunny Database

> Bunny Database is a globally distributed SQLite-compatible database.

![bunny.net Database](https://mintcdn.com/bunnynet-cb9733c2/GYo51EPI6zuebYhU/images/database/database.png?fit=max\&auto=format\&n=GYo51EPI6zuebYhU\&q=85\&s=f72e07b8ed52af6208a37ee9bb50e375)

> [!NOTE]
>
> Bunny Database is currently in [Public Preview](https://bunny.net/docs/product-release-stages.md#stage-2-public-preview). Features and APIs may evolve during this period.

Bunny Database is a fully managed relational database service built on libSQL, a fork of SQLite. It allows you to easily deploy simple, globally distributed SQL databases. The service automatically handles scaling and replication, and stays idle when inactive for a usage-based billing model.

> [card] [Database Quickstart](https://bunny.net/docs/database/quickstart.md)

## Key features

* **SQLite compatibility**: Use standard SQL syntax and leverage existing SQLite knowledge, tools, and libraries
* **Global replication**: Replicate your database across multiple regions for low-latency access worldwide
* **Multiple connection options**: Connect via HTTP API, native SDKs, or popular ORMs
* **Versioned migrations**: Track schema changes as SQL files and apply them with the Bunny CLI
* **Edge integration**: Works seamlessly with Edge Scripting and Magic Containers
* **Fully managed**: No infrastructure to maintain with automatic scaling and replication
* **Usage-based billing**: Stays idle when inactive, so you only pay for what you use

## Integrations

Bunny Database integrates with other bunny.net developer platform services:

> [card] [Magic Container Apps](https://bunny.net/docs/database/connect/magic-containers.md)
>
> Deploy any Docker workload without provisioning. Databases and containers
> are deployed to the same regions to minimize latency.

> [card] [Edge Scripts](https://bunny.net/docs/database/connect/scripting.md)
>
> Run lightweight serverless JavaScript/TypeScript logic close to your users.

## Getting started

> [card] [Quickstart](https://bunny.net/docs/database/quickstart.md)
>
> Create your first database and run queries in minutes

> [card] [Migrations](https://bunny.net/docs/database/migrations.md)
>
> Version your schema as SQL files and apply them with the Bunny CLI

> [card] [SQL API](https://bunny.net/docs/database/connect/sql-api.md)
>
> Connect directly using the HTTP-based SQL API

> [card] [TypeScript](https://bunny.net/docs/database/connect/typescript.md)
>
> Connect using the libSQL client for JS & TypeScript

> [card] [Go](https://bunny.net/docs/database/connect/go.md)
>
> Connect using the libSQL client for Go

> [card] [Rust](https://bunny.net/docs/database/connect/rust.md)
>
> Connect using the libSQL crate for Rust

> [card] [.NET](https://bunny.net/docs/database/connect/dotnet.md)
>
> Connect using the Bunny.LibSQL.Client for .NET


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.