<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/dbcommander-a-norton-commander-style-manager-for-mysql-cbdm5akct" -->

---
title: # DBCommander: a Norton Commander-style manager for MySQL
description: DBCommander is a new open-source, dual-panel MySQL client built for the browser, modeled after Norton Commander-style file managers. It offers keyboard-driven...
canonical: https://daily.dev/posts/dbcommander-a-norton-commander-style-manager-for-mysql-cbdm5akct
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: # DBCommander: a Norton Commander-style manager for MySQL | daily.dev
og:description: DBCommander is a new open-source, dual-panel MySQL client built for the browser, modeled after Norton Commander-style file managers. It offers keyboard-driven...
og:url: https://daily.dev/posts/dbcommander-a-norton-commander-style-manager-for-mysql-cbdm5akct
og:image: https://api.daily.dev/og/posts/CbdM5aKct.png
og:image:alt: # DBCommander: a Norton Commander-style manager for MySQL
og:image:width: 1200
og:image:height: 630
og:locale: en
---

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

# # DBCommander: a Norton Commander-style manager for MySQL

**[signed mixals](https://daily.dev/sources/gtk10ksqk41chjnf61ldk)** · [@signedmixals](https://daily.dev/signedmixals) · 2 min read · 0 upvotes · 0 comments

## Summary

DBCommander is a new open-source, dual-panel MySQL client built for the browser, modeled after Norton Commander-style file managers. It offers keyboard-driven workflows with F-key shortcuts for SQL editing, row viewing, structure editing, cross-connection table/database copying, dropping tables, exporting data, and global search. Credentials are never stored on disk — connections.json only holds host/port/driver, with interactive login and server-side session-based credential storage, plus CSRF protection and rate limiting. It runs on PHP 8.1+ with the Curlpit micro-framework and vanilla JS on the frontend. The project is early-stage, with the author cautioning against production use without a code review.

## Content

DBCommander is a dual-panel, keyboard-driven MySQL client for the browser, built on the classic two-panel file manager model: two independent panels, each with its own connection, database, and cursor — F-keys for actions, Tab to switch sides, no mouse required.

![structure-editor.png](https://media.daily.dev/image/upload/s--qRmca6Hy--/f_auto/v1789653814/ugc/content_be6c4f64-172d-4e1f-ae5f-a03c6f02315e?_a=BAMAMicg0)

## Features

- **Dual-panel layout** — each panel is an independent connection/database/cursor; comparing or copying between two servers is the default workflow, not an edge case
- **F2** SQL editor with a full-screen result viewer
- **F3** row viewer — infinite scroll, column sort, cell expand
- **F4** structure editor — inline column type/nullability/default edits
- **F5** copy tables or entire databases across connections, append or replace
- **F8** drop tables/views with confirmation
- **F9** export to CSV, JSON, or SQL INSERT
- **Ctrl+F** global search across all tables on a connection, grouped and highlighted results

![copy-table.png](https://media.daily.dev/image/upload/s--rPfb5B17--/f_auto/v1789653859/ugc/content_296a9262-510c-4c2c-9c58-66aeb794e9ef?_a=BAMAMicg0)

## Security

`connections.json` defines connection _targets_ only — host, port, driver. It never stores a username or password, and the config loader rejects the file if either is present. Every connection requires an interactive login; credentials are kept server-side in the PHP session for a configurable TTL, never written to disk. Each panel logs in independently, so the two sides can hold different credentials for different servers at once.

Additional hardening:

- CSRF protection via double-submit cookie on all state-changing requests
- Rate limiting on the login endpoint (file-backed, per IP+route)
- Connection failures (bad credentials, unreachable host, expired session) resolve to a clean re-login prompt instead of an unhandled error

## Stack

Backend: PHP 8.1+, built on [Curlpit](https://github.com/curlpit/curlpit) — a PSR-15 middleware orchestrator micro framework for PHP, with branching, looping, declarative flow control, and multi-API aggregation built in. Frontend: vanilla JS, ES modules, loaded natively with no bundler; a small asset builder versions and publishes them with mtime-based cache-busting.

## Install

```
git clone https://github.com/curlpit/dbcommander
cd dbcommander
composer install
cp config/connections.json.example config/connections.json
# edit config/connections.json, then point your web server at public/
```

A guided `install.sh` is also included for a from-scratch Ubuntu setup (MySQL user, web server, permissions, optional HTTP Basic Auth). Full docs and keyboard reference: [README](https://github.com/curlpit/dbcommander).

This is an early-stage project — the core flows and the security pass are solid, but it hasn't had broad review yet. Run it behind auth or a VPN, and don't point it at production without reading the code first.

Repo: **https://github.com/curlpit/dbcommander** — feedback and issues welcome.

## Similar posts on daily.dev

- [Code Master Blog: DB GUI 0.4.0 Remember SQL Command History \(useful w](https://daily.dev/posts/code-master-blog-db-gui-0-4-0-remember-sql-command-history-useful-w-agbcshskh) · Ruby Flow · 0 upvotes · 0 comments
- [DumboDB Supports MongoDB Compass](https://daily.dev/posts/dumbodb-supports-mongodb-compass-yw7xn2huo) · DoltHub Blog · 1 upvotes · 0 comments
- [Database Features in Rider](https://daily.dev/posts/database-features-in-rider-06w8u3wvc) · JetBrains · 2 upvotes · 0 comments
- [LibreDB Studio: open-source, free, self-hosted SQL IDE that runs in your browser, for 46 databases](https://daily.dev/posts/libredb-studio-open-source-free-self-hosted-sql-ide-that-runs-in-your-browser-for-46-databases-tdhuxk3nr) · Noted · 0 upvotes · 0 comments
- [NetBeans DataWrangler: Query, Convert and Edit Data Analytics Files](https://daily.dev/posts/netbeans-datawrangler-query-convert-and-edit-data-analytics-files-xw8pjgtmw) · Foojay.io · 0 upvotes · 0 comments

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#php](https://daily.dev/tags/php), [#mysql](https://daily.dev/tags/mysql)

[View this post on daily.dev](https://daily.dev/posts/dbcommander-a-norton-commander-style-manager-for-mysql-cbdm5akct)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/dbcommander-a-norton-commander-style-manager-for-mysql-cbdm5akct","headline":"# DBCommander: a Norton Commander-style manager for MySQL","text":"DBCommander is a new open-source, dual-panel MySQL client built for the browser, modeled after Norton Commander-style file managers. It offers keyboard-driven workflows with F-key shortcuts for SQL editing, row viewing, structure editing, cross-connection table/database copying, dropping tables, exporting data, and global search. Credentials are never stored on disk — connections.json only holds host/port/driver, with interactive login and server-side session-based credential storage, plus CSRF protection and rate limiting. It runs on PHP 8.1+ with the Curlpit micro-framework and vanilla JS on the frontend. The project is early-stage, with the author cautioning against production use without a code review.","url":"https://daily.dev/posts/dbcommander-a-norton-commander-style-manager-for-mysql-cbdm5akct","datePublished":"2026-09-17T14:06:19.817Z","dateModified":"2026-09-17T14:06:39.586Z","author":{"@type":"Person","name":"signed mixals","url":"https://daily.dev/signedmixals","image":"https://lh3.googleusercontent.com/a/ACg8ocLpc82k0R-cag3X6NNFzYkNVjxfip7uv2KXRZ-CK1UfAOU5dQo=s96-c","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":60}},"image":"https://media.daily.dev/image/upload/s--ZNROuokx--/f_auto/v1789653980/posts/CbdM5aKct?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/gtk10ksqk41chjnf61ldk","name":"signed mixals"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"signed mixals","item":"https://daily.dev/sources/gtk10ksqk41chjnf61ldk"},{"@type":"ListItem","position":3,"name":"# DBCommander: a Norton Commander-style manager for MySQL"}]}
```

