for MySQL

MySQL admin in a single PHP file

Born from a real dev need — when your schema is still taking shape and you just need to view, seed, and test without stopping to build a full admin panel from scratch.

Drop it in at any stage, wire up your credentials, and you have a complete MySQL admin interface in under a minute. No framework, no build step, nothing in your way.

Once connected, browse any table, insert and edit records, run raw SQL queries, and export results to CSV or JSON — without touching a line of code.

Reading level

Full CRUD

Browse, insert, update, and delete records across any table. Pagination, inline actions, and bulk delete included.

View any table's rows, add new records, edit values, and delete entries — all from a browser. No SQL commands needed.

Schema-aware

Auto-detects column types, enums, nullable fields, and foreign key relationships to render the right input for every field.

The tool reads your database structure and shows the right input for each field automatically. A yes/no field becomes a checkbox. A field linked to another table shows a dropdown of the available options.

Column rules

Store per-column configuration in MySQL’s COLUMN_COMMENT. Override labels, add hints, mark fields as readonly or hidden.

Customize how fields appear in the interface: rename a label, add a hint to explain what a field is for, or hide sensitive columns entirely. No code changes required.

Lockable config

Optionally ship a config.php alongside the tool to pre-lock the host, database, port, or table. Connection fields become read-only.

Add an optional settings file to lock the tool to one specific database or table. Useful when sharing access with someone else — they open the URL and go straight to their data without needing connection details.

Secure by default

CSRF token on every form. No raw SQL exposed to the UI. No eval, no shell exec, no dynamic includes.

Every form includes built-in protection against common web attacks. Values are handled safely — nothing in the interface can be used to manipulate your database in unintended ways.

One file

Everything is in ample.php — no Composer, no npm, no build step. Upload it via SFTP, cURL, or however you deploy.

There is only one file. Upload it the same way you would upload any file to your server — via your host's file manager, FTP, or drag-and-drop. No install process, no setup steps.

Download

Grab the zip or the bare PHP file below.

Upload

Drop ample.php anywhere on a PHP 8.2+ server.

Connect

Open it in a browser, enter your MySQL credentials, and go.