MyDBDesk – MySQL & MariaDB Database Manager for Windows
A complete visual workbench for MySQL and MariaDB — with a private AI assistant that runs entirely on your own PC and a built-in local MariaDB server. Connect to many servers at once, browse and edit rows in a grid, design tables with a visual ER diagram, run SQL with history and saved queries, import and export CSV, JSON or SQL (on a schedule, too), and administer users, roles and privileges. Light or dark, keyboard-friendly, and built so your edits and backups don’t go missing. Everything from one window.
New in 2.2.0 — Built for Trust, Now in Dark Mode
A full review found every way data could be lost or land in the wrong place — and fixed each one. With several servers connected, every tab stays on the server its table came from. Unsaved edits are never thrown away silently: paging, sorting, switching tables or closing the app asks first. A save that would miss a row rolls back and tells you, instead of claiming success. Changing a column’s type keeps its default and comment, and SQL dumps restore even when tables reference each other.
Plus a System / Light / Dark theme picker with full Windows high-contrast support, screen-reader labels and Alt-key shortcuts, a Designer that works entirely from the keyboard, DELIMITER scripts for stored procedures and triggers, semicolon-, tab- and pipe-separated CSV imports, and one-click Copy SQL on AI answers.
Private, On-Device AI Assistant
A new AI tab that understands your database and runs entirely on your own PC — your questions, your schema, and your data never leave your computer. No cloud, no API keys, no accounts.
Ask about your database in plain English with the current schema as context, explain the query in the editor, or describe a table — with replies streaming in as they're written. Any SQL it suggests is shown for you to review, with a Copy SQL button to take it to the editor yourself. Choose between Qwen2.5-Coder 1.5B (lighter and faster) or Phi-4-mini (larger, for extra quality); the model downloads once, on demand, and only after you say yes.
Built-In Local MariaDB Server
No database server yet? Click Local Server and MyDBDesk downloads and runs a portable MariaDB 11.4 on your own PC, listening only on 127.0.0.1. A Local MariaDB connection is added and connected automatically, so you can start creating databases and tables right away. Start, stop, change the port or data folder — all managed by the app, with your databases stored in a normal folder (kept out of OneDrive by default) that stays put even if you uninstall. Closing MyDBDesk always stops the server.
Changelog — what's new in each release
Full release history from the first public release to the current 2.2.0 — the data-safety review, dark mode and accessibility in 2.2, scheduled exports, saved queries and the visual privilege editor in 2.1, the on-device AI assistant and built-in local MariaDB server in 2.0, and every fix and improvement in between.
View the full changelogUser Guide — every tab, every workflow
Step-by-step walkthrough for the person sitting in front of MyDBDesk. Connections, the local server, browsing, editing, the Designer, SQL with history and saved queries, the AI assistant, exports and scheduled exports, imports, privileges and roles, server status, and themes and keyboard access — plus tips for working with several servers at once.
Read the User GuideFeatures
✨ On-Device AI Assistant
Chat about your database in plain English, grounded in the schema you have open — plus one-click Explain query in editor and Describe this table. Replies stream in as they're written. It runs 100% on your PC: no cloud, no API keys, no accounts, and nothing you ask leaves your computer. Copy a whole reply or just the SQL in it with one click. Pick the lighter model or the larger one; it downloads once, only when you agree.
🖴 Built-In Local MariaDB Server
Don't have a database server? MyDBDesk downloads and runs a portable MariaDB 11.4 on your own PC in a couple of clicks, bound to 127.0.0.1, and connects to it automatically. Start and stop it, change the port or data folder, and open the data folder — your databases live in a normal folder, kept out of OneDrive by default, that survives uninstalling the app. Closing MyDBDesk always stops the server, even after a crash.
🌙 Dark Mode & Accessibility
Pick System, Light or Dark from the toolbar — System follows Windows as it changes, and the SQL editor, title bars and every dialog follow along. Windows high-contrast themes are honoured throughout. Screen readers announce buttons and fields in words, the main buttons and dialog fields have Alt shortcuts, and dialogs resize for larger Windows text sizes.
⏱ Scheduled Exports
Set an export to repeat on its own — every 15 minutes through weekly — for a whole database or a single table, in any format with its options. Keep holds only the newest few files so a schedule can’t fill your disk, Run now tests a job on the spot, and each job shows how its last run went. Jobs run while MyDBDesk is open and only ever clean up their own files.
🔌 Multi-Server Connections
Save as many connections as you like and connect to several servers at the same time. Switch between them just by clicking in the navigation tree — and every open tab stays on the server its table came from, so a Save or Drop never lands on the wrong one. Test a connection before saving, and pick the SSL mode you need — Off, Preferred, Required, or certificate-verified — with an optional CA cert.
📋 Browse & Edit in a Grid
Tables open in a paged grid — edit cells in place, add new rows, and delete selected rows, then save the whole batch as a single all-or-nothing transaction. If a row was changed elsewhere, the save rolls back and tells you why, and unsaved edits are never discarded silently — paging, sorting or switching tables asks first. Narrow the view with the WHERE filter box and click a column header to sort — both run server-side, so they cover the whole table, not just the page on screen. Tables without a primary key open read-only so a wrong row can't be silently changed.
🧩 Visual ER Designer
Your database as a draggable diagram — table boxes with their columns, foreign keys drawn as lines. Pan and zoom the canvas, arrange the layout (saved per database), create a relationship by dragging from a column onto another (or with Add relationship…), and create new tables right from the Designer. It works fully from the keyboard, too: Tab between tables, move them with the arrow keys, Enter to edit.
🏗️ Structure & Create Table
The Structure tab lists columns, indexes, foreign keys and the full table definition — add, modify and drop columns (changing a type keeps the column’s default, comment and collation), add or drop unique indexes, and use the Create Table designer to define multiple columns at once (name, type, nullable, primary key, auto-increment, default).
💻 SQL Console with Syntax Highlighting
A real editor with colour syntax highlighting and line numbers — run everything with F5, or select a few lines and run just the selection. Pick the target database from a drop-down, and stop a long-running query at any time. A confirmation appears before destructive statements (DROP, TRUNCATE, or a DELETE / UPDATE with no WHERE). Every statement is remembered across sessions in the history drop-down, saved queries keep the ones you use often under a name, and DELIMITER scripts run stored procedures, functions and triggers exactly as written.
📥 Insert with a Form
The Insert tab builds a form from a table's columns — type values, tick NULL where needed, or leave blank to let the database fill the default (handy for auto-numbered IDs). Then click Insert row.
⤓ Export to CSV, JSON or SQL
Export a table to CSV, JSON or SQL, or dump a whole database as SQL — with options for each: batched INSERTs and transaction-wrapped dumps, CSV delimiter, header and quoting choices, JSON Lines. Dumps restore even when tables reference each other, and CSV files read the same on every PC whatever its language settings. For large tables, Export to file writes straight to disk with a progress bar, and a failed or cancelled export never leaves a broken file or overwrites a good one.
📂 Import from SQL or CSV
Run SQL from the editor, or run a .sql or .csv file straight from disk (large files never load into the editor). For a CSV — comma, semicolon, tab or pipe separated, in UTF-8, UTF-16 or ANSI — a column-matching window lines up each file column with a table column, shows sample values and the target type, and warns about values that won’t fit. All-or-nothing — a failure leaves the table unchanged.
🛠️ Operations & Database Admin
Rename, empty (truncate), or drop tables, and create or drop databases — from one place. Destructive actions always ask for confirmation first, so a click in the wrong row doesn't wipe data.
🔑 Users, Roles & Privileges
The Privileges tab lists users and MariaDB roles with their grants — create or drop users, and change access in one Edit privileges editor that opens with what the user already has ticked, so you just tick and un-tick. Applying makes only the changes you made, and privileges the editor can’t show are left alone. No manual GRANT statements.
📊 Server Status & Process List
See the server's status counters, current configuration variables, and the live process list with running connections and queries — with a filter box for quick lookups, and the ability to end a connection right from the list.
⏱️ Progress Bars & Cancel
Long operations — exports, imports, large table loads — show a progress bar that only blocks the tab they belong to. Switch to another tab while a big export runs, and press Cancel at any time. Spinners appear while tables load and queries run.
🔐 Encrypted Saved Passwords
Saved connection passwords are encrypted and kept on your own device — never written in plain text. Everything runs offline; no telemetry, no cloud sync.
🖱️ Right-Click Everywhere
Right-click the navigation panel for a context menu (create, connect, disconnect, edit, remove, refresh), with greyed-out options that don't apply. Toolbar buttons turn on and off to match what's selected, so you're never guessing what's safe to click.
Screenshots
Latest Release
Version 2.2.0 — November 2026
A reliability release: tabs stay on their own server, unsaved edits are never lost, stricter saves, column changes that keep defaults, SQL dumps that restore with foreign keys, safe exports and settings files. Plus dark mode, high contrast, screen-reader and keyboard access, DELIMITER scripts, more CSV import formats, MariaDB roles, and Copy SQL on AI answers.