DB Manager
The database tool your customers will not be afraid of.
See every table, find and fix data, change the structure and run SQL, from the browser. It ships with Unicorn Panel and runs on your own servers, next to the databases.
This is the real app. Click around it.
A sample database for Larkspur Bakery, a fictional site. Everything runs in your browser and resets when you reload.
Things worth trying
- Open
wp_bakery_ordersand filter by status - Click an order number in
wp_bakery_order_itemsto jump to the order - Search for
larkspur-bakery.example - Add a column and read the SQL preview before it runs
- Run the example join in the SQL console
- Press / and start typing a table name
Why it matters
A database tool people can actually use
One click, no password
It opens straight from the control panel with a one-time link. There is no database password for a customer to lose, store, or email to their developer.
Hard to break things by accident
Every structure change shows the SQL before it runs. Emptying or dropping a table asks you to type its name first.
On your servers
It runs next to the databases, in its own locked-down container. Customer data never passes through anyone else.
See everything at a glance
Know what is in there in one screen
Every table with its row count, size, engine and comment, and the totals for the whole database above them.
The whole picture first
Tables and views, total rows and size on disk, before you open anything.
Find the table fast
Filter the list as you type. Press the slash key to jump straight to the filter.
Always one click away
A sidebar carries every table and view, so moving between them never means going back.
Every engine the panel offers
MariaDB, MySQL, PostgreSQL and Mimir, with the same screens for each.
Browse and edit
Find the row, change the row
Page, sort, filter
25 to 500 rows a page, sorting on any column, and up to three conditions at once: equals, contains, greater than, is empty and more.
Follow the link
A value that points at another table is a link. Click an order line and land on the order it belongs to.
A form, not a puzzle
Edit or add a row in a plain form. Each field can be a value, NULL, or the column default, and long text gets a real text area.
Plugin data stays intact
The odd shapes plugins save, such as PHP serialized data, are shown in a safe form so saving a row never damages them.
Tidy up in bulk
Select rows and delete them together, with a confirmation before anything goes.
Real checks, real errors
The database does the checking. A row pointing at something that does not exist is refused, with the reason shown plainly.
Change the structure
See the SQL before it runs
Create tables, add or change columns, add indexes and foreign keys, rename things. Every change shows you the exact statement first, so nothing happens by surprise.
- Run it, or go back and edit it
- Full-text indexes and foreign keys included
- Copy a table’s whole definition in one click
- Emptying or dropping asks you to type the name
SQL console
For the people who want to write it themselves
Write and run
Color highlighting as you type, and Ctrl and Enter to run. Up to 200 statements at once, each with its own rows and timing.
Explain first
See how the database plans to run a query without running it, which is usually how a slow page gets diagnosed.
Recent queries kept
The session keeps a history list, so the query from ten minutes ago is still there.
Find anything
Where is that old domain still hiding?
Search every table at once for a piece of text. The usual case is a site that moved and left its old address in places nobody remembers.
- Results show which tables and columns matched, and how many rows
- One click opens the matching rows
- Works across the whole database, not one table at a time
Import and export
Getting data in and out
Import big files
SQL scripts or CSV up to 8 GiB. Compressed .gz files upload as they are and are unpacked on the server, which is much faster.
Watch it go
A progress bar with speed and time left. Problems are listed line by line, and you choose whether to stop at the first error or skip and carry on.
Export what you need
The whole database or chosen tables as an SQL script, structure or data or both, optionally compressed. One table as CSV.
Spreadsheet-safe CSV
CSV can be written so a formula sitting in the data cannot run when someone opens the file.
Keep tables healthy
The maintenance jobs, without the command line
Optimize and check
Optimize, analyze, check, repair and checksum, one table or many, each with a clear result. On PostgreSQL that is vacuum, analyze and reindex.
Stored code, visible
Stored procedures and functions are listed with their full definitions, so nothing is hiding.
Safety and privacy
Built to limit the damage
A database tool runs whatever SQL it is given, so it is designed on the assumption that something could go wrong.
Its own locked-down container
It runs separately from the control panel, so a problem in the tool is nowhere near the panel’s own keys or the fleet database.
Links that expire
Sign-in links are single use and last 60 seconds. Sessions end after 30 minutes idle, and after 8 hours at most.
Nothing outside gets in
The app runs no outside code, cannot be embedded by other sites, and every change request is checked so another site cannot trigger one.
Type it to mean it
The dangerous actions need the table name typed first. Several at once need the number typed.
A log of who did what
An activity log records the actions and when they happened. It never records your data or the SQL you ran.
Your servers only
Customer data stays on your infrastructure and never passes through a third party.
Comfort
The small things that make it usable
It should work on the phone in the car park as well as the desk, and it should not fall over when something blocks scripts.
- Light, dark, or match the system
- Works on phones, tablets and desktops
- Pages still work with JavaScript off, which adds filtering, coloring and shortcuts
- Several databases open at once, each in its own tab
For hosting providers
A database tool you do not have to buy or babysit
Installs as a role
Add, update or remove it per server from the Roles tab. Nothing separate to license or keep patched by hand.
One click for customers
They open it from the control panel, already signed in, for every database engine the panel offers.
No third party in the path
The data stays on your servers. There is no outside service holding your customers’ databases.
Questions
Before you ask
Which databases does it work with?
MariaDB, MySQL, PostgreSQL and Mimir. The screens are the same for each, and the maintenance actions map to whatever that engine calls them.
Do customers need a database password?
No. It opens from the control panel with a one-time link that is valid for 60 seconds, so there is no password to store or share.
Can someone drop a table by accident?
Not easily. Emptying or dropping asks for the table name to be typed first, and several tables at once asks for the number. Structure changes show the SQL before anything runs.
How big a file can be imported?
Up to 8 GiB for SQL scripts and CSV. Compressed .gz files are uploaded as they are and unpacked on the server, which is quicker than unpacking them first.
Does anything in this demo touch a real database?
No. The demo runs entirely in your browser against a fictional sample database. Export produces a real file from that sample data, and Import shows the real screens but applies nothing. Reloading starts it fresh.
What does it cost?
Nothing extra. DB Manager is included with Unicorn Panel, on every tier including the free one. There is no separate license or per-database charge.
Give your customers a database tool they will open twice.
DB Manager ships with Unicorn Panel and runs on your own servers.