Getting Started
From zero to a running database in under 5 minutes. Maree-DB speaks MySQL, PostgreSQL, and Redis — your existing applications connect without a single code change.
Prerequisites
Maree-DB ships as a single self-contained binary with no runtime dependencies. You need:
- Linux x86-64 / ARM64, macOS Apple Silicon / Intel, or Windows (via WSL2)
- Minimum 512 MB RAM (1 GB recommended for development)
- A MySQL, PostgreSQL, or Redis-compatible client (any version)
Step 1 — Download & Start
Download the binary
Visit the Download page and grab the binary for your platform. Or use the one-liner:
Start the server
Run with default settings. Maree-DB creates its data directory on first start.
Step 2 — Create Your First Table
Connect with any SQL client and run standard SQL. Here we use the built-in CLI:
Step 3 — Connect with a MySQL Client
Maree-DB implements the MySQL 8.0 wire protocol on port 3306. Any MySQL client works without modification.
Application connection strings (MySQL)
jdbc:mysql://localhost:3306/demo— Java / JDBCmysql://root@localhost/demo— Node.js (mysql2)mysql+pymysql://root@localhost/demo— Python / SQLAlchemyServer=localhost;Port=3306;Database=demo;— .NET / MySqlConnector
Connect with a PostgreSQL Client
Maree-DB also speaks the PostgreSQL FE/BE protocol v3 on port 5432. Use psql or any Postgres driver directly.
Application connection strings (PostgreSQL)
postgresql://root@localhost:5432/demo— libpq / psql / Prismapostgresql+psycopg2://root@localhost:5432/demo— Python / SQLAlchemyHost=localhost;Port=5432;Database=demo;— .NET / Npgsql
Connect with a Redis Client
Maree-DB speaks the Redis Serialisation Protocol (RESP3) on port 6379 for key-value and cache workloads.
What's Next?
You now have a fully functional multi-model database. Explore:
- Installation Guide — production deployment, Docker, Kubernetes, cPanel
- Configuration Reference — every
maree-db.tomlsetting - SQL Reference — SQL:2023 support and Maree-DB extensions
- Migration Guide — migrate from MySQL, Oracle, MongoDB, and more
- Clustering Guide — Byzantine fault tolerant 3-node setup