A modern MySQL workspace for browsing schemas, running SQL, and using AI with real database context.
macOS and Linux:
curl -fsSL https://raw.githubusercontent.com/alexclaz/dbfock/main/install.sh | bashThe installer builds DBfock locally and installs it in /Applications on macOS or ~/.local on Linux. It asks before installing missing dependencies. For a non-interactive install, use:
curl -fsSL https://raw.githubusercontent.com/alexclaz/dbfock/main/install.sh | DBFOCK_YES=1 bashWindows and Linux builds are published on the releases page:
- Windows (x64): run
dbfock_<version>_windows_amd64_setup.exe, or unzipdbfock_<version>_windows_amd64.zipfor a portable build. WebView2 is bundled. - Linux (x64): unpack
dbfock_<version>_linux_amd64.tar.gzand run./install.shto install into~/.local. Requires GTK 3 and WebKit2GTK 4.1.
Each asset ships a .sha256 file next to it.
- Manage MySQL connections, including import from DBeaver and encrypted local credentials.
- Browse databases, tables, columns, indexes, constraints, triggers, DDL, and data.
- Work with persistent tabs, saved queries, query history, result tabs, CSV/JSON/TSV export, and Smart Queries.
- Use a CodeMirror SQL editor with search, formatting, keyboard shortcuts, and cancellable queries.
- Keep production changes pending until they are explicitly committed or rolled back.
- Ask OpenAI, OpenRouter, Anthropic, or Ollama to explain, improve, and generate SQL using selected schema context.
- Back up and restore the local workspace to S3-compatible storage.
Requires Docker, Docker Compose, and a reachable MySQL server.
cp .env.example .env
docker compose up --buildOpen http://localhost:13000. Set ENCRYPTION_KEY in .env before storing real credentials.
Requires Go 1.24+, Node.js 24+, npm, and a reachable MySQL server.
cp .env.example .env
cd backend && ENCRYPTION_KEY=local-development-key go run ./cmd/api
# In another terminal
cd frontend && npm install && npm run devOpen http://localhost:13000.
make dev-desktop # Wails with live reload
make build-desktop # native buildIf you already have a checkout, install it with make install-desktop (macOS) or make install-linux (Linux).
When a newer version exists, the web version shows a notification. The Wails app also offers Update now, opening the official releases page; installation remains an explicit user action.
- Frontend: Nuxt 4, Vue 3, TypeScript, Pinia, Tailwind CSS, and CodeMirror.
- Backend: Go, Chi,
database/sql, MySQL, SQLite, and Wails v2. - Local data: SQLite stores DBfock metadata, preferences, history, and encrypted secrets; it never replaces the MySQL databases you manage.
| Command | Description |
|---|---|
make dev-backend |
Start the Go API. |
make dev-frontend |
Start the Nuxt app. |
make dev-desktop |
Start the Wails app. |
make test |
Run backend tests. |
make typecheck |
Run frontend type checks. |
make docker-up |
Start Docker Compose. |

