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

---
title: # DBCommander: a Norton Commander-style manager for MySQL
description: DBCommander is a new open-source, dual-panel MySQL client that runs in the browser, modeled after Norton Commander-style file managers. Each panel holds an...
canonical: https://daily.dev/posts/dbcommander-a-norton-commander-style-manager-for-mysql-woyg2raxm
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 that runs in the browser, modeled after Norton Commander-style file managers. Each panel holds an...
og:url: https://daily.dev/posts/dbcommander-a-norton-commander-style-manager-for-mysql-woyg2raxm
og:image: https://api.daily.dev/og/posts/WOyg2RaXM.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

**[Backend Developer ](https://daily.dev/sources/amandeep58)** · [@signedmixals](https://daily.dev/signedmixals) · 2 min read · 1 upvotes · 0 comments

## Summary

DBCommander is a new open-source, dual-panel MySQL client that runs in the browser, modeled after Norton Commander-style file managers. Each panel holds an independent connection, database, and cursor, with keyboard shortcuts (F-keys) for SQL editing, row viewing, structure editing, table/database copying across servers, dropping objects, exporting data, and global search. It stores no credentials on disk, requires interactive login per panel, and adds CSRF protection and login rate limiting. Built on PHP 8.1+ and the Curlpit micro framework on the backend, with vanilla JS and no bundler on the frontend. It's an early-stage project recommended for use behind auth or a VPN rather than directly on production.

## 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
- [Windows File Explorer is outdated, and these alternatives fit how you actually use your PC](https://daily.dev/posts/windows-file-explorer-is-outdated-and-these-alternatives-fit-how-you-actually-use-your-pc-9ucjswtvp) · XDA Developers · 0 upvotes · 0 comments
- [New File Manager Is C64’s Answer To Norton Commander](https://daily.dev/posts/new-file-manager-is-c64-s-answer-to-norton-commander-ztipvtthu) · Hackaday · 0 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
- [DumboDB Supports MongoDB Compass](https://daily.dev/posts/dumbodb-supports-mongodb-compass-yw7xn2huo) · DoltHub Blog · 1 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-woyg2raxm)

```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-woyg2raxm","headline":"# DBCommander: a Norton Commander-style manager for MySQL","text":"DBCommander is a new open-source, dual-panel MySQL client that runs in the browser, modeled after Norton Commander-style file managers. Each panel holds an independent connection, database, and cursor, with keyboard shortcuts (F-keys) for SQL editing, row viewing, structure editing, table/database copying across servers, dropping objects, exporting data, and global search. It stores no credentials on disk, requires interactive login per panel, and adds CSRF protection and login rate limiting. Built on PHP 8.1+ and the Curlpit micro framework on the backend, with vanilla JS and no bundler on the frontend. It's an early-stage project recommended for use behind auth or a VPN rather than directly on production.","url":"https://daily.dev/posts/dbcommander-a-norton-commander-style-manager-for-mysql-woyg2raxm","datePublished":"2026-09-22T09:44:55.225Z","dateModified":"2026-09-22T09:45:11.756Z","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--KeWoqdrc--/f_auto/v1789653980/posts/uFkjBhvsi?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/amandeep58","name":"Backend Developer "}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Backend Developer ","item":"https://daily.dev/squads/amandeep58"},{"@type":"ListItem","position":3,"name":"# DBCommander: a Norton Commander-style manager for MySQL"}]}
```

