phpMyAdmin vs Adminer, for a Joomla developer, is less about features than about where the tool lives. Both browse and edit tables, run SQL, export and import. phpMyAdmin is the better pick when your host already provides it, when you need more than SQL and CSV exports, or when you want to click through relations on Joomla's tables once you have defined them. Adminer is one PHP file that runs anywhere PHP does, including on PostgreSQL sites, but a forgotten adminer.php on a live site is a login form anyone can find. Below are the differences that matter on Joomla, checked against both projects' documentation and Joomla 6.2's own schema.
The short comparison
| phpMyAdmin 5.2.3 | Adminer 6.3.0 | |
|---|---|---|
| What you install | A full application. The 5.2.1 copy bundled with MAMP has 4,255 files, 60 MB. | One PHP file: 570 kB, or 288 kB for the English, MySQL-only build. |
| Where you usually get it | Preinstalled by the big hosts | You upload it yourself |
| Databases | MySQL and MariaDB 5.5+ | MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle; more through plugins |
| PHP | 7.2.5 or newer | 5.4 up to 8, with sessions |
| Login | Cookie, HTTP, signon or config authentication | Login form; refuses databases without a password, rate-limits attempts |
| Export formats | SQL, CSV, JSON, XML, YAML, LaTeX, PDF, OpenDocument, Word and more | SQL, CSV, TSV; others through plugins |
| Files bigger than the upload limit | Import from an upload directory on the server ($cfg['UploadDir']) | Runs adminer.sql or adminer.sql.gz from the folder next to the script |
| Relations without foreign keys | Internal relationships, stored in its configuration storage | Only real foreign keys; plugins can add more |
Sources: the phpMyAdmin 5.2 documentation (requirements, setup, import and export, relations) and adminer.org. File counts are ours. For the host side, Adminer's own comparison page reports that all ten large hosting providers it checked in August 2026 preinstall phpMyAdmin, and none preinstalls Adminer.
Four things that are specific to Joomla
Joomla's tables have no foreign keys
The installation SQL of Joomla 6.2.0 creates 76 tables and not a single FOREIGN KEY. Relations exist only as column comments:
-- installation/sql/mysql/base.sql (Joomla 6.2.0)
CREATE TABLE IF NOT EXISTS `#__user_usergroup_map` (
`user_id` int unsigned NOT NULL DEFAULT 0 COMMENT 'Foreign Key to #__users.id',
`group_id` int unsigned NOT NULL DEFAULT 0 COMMENT 'Foreign Key to #__usergroups.id',
PRIMARY KEY (`user_id`,`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
What that means in practice:
- Adminer's database schema shows Joomla's tables as boxes with no lines between them, and a
catidorcreated_byvalue is just a number, not a link to the category or user. Adminer links rows through real foreign keys only; its plugin list has a user-contributed plugin that links columns by naming convention, which we have not tested on Joomla. - phpMyAdmin can link
#__content.catidto#__categories.idwithout touching the schema. On the table's Structure page, open Relation view and use the Internal relationships part. It needs phpMyAdmin's configuration storage, a set of 20pma__tables. - Do not use the "Foreign key constraints" part of that screen on Joomla tables. phpMyAdmin's documentation says it creates real InnoDB relations there, which MySQL then enforces for every application. Joomla's code is written for a schema without constraints, so a delete or an extension uninstall that Joomla considers fine could be refused by the database.
Keep phpMyAdmin's own tables out of the Joomla database
phpMyAdmin's "Zero configuration" mode is on by default: in a database without the pma__ tables it offers to create them from the Operations tab. Click that inside the Joomla database and those 20 tables travel with every Joomla backup and site copy from then on. If you control the phpMyAdmin install, point it at a database of its own:
// config.inc.php (phpMyAdmin 5.2)
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; // a separate database, not the Joomla one
$cfg['Servers'][$i]['AllowRoot'] = false; // no root logins through the web
$cfg['AuthLog'] = 'syslog'; // failed logins to syslog, for fail2ban
On shared hosting you usually cannot edit this file. Then simply don't create the storage tables in the Joomla database, and live without internal relations.
Neither tool knows the #__ prefix
Every query you copy from Joomla code, the forum or our blog writes tables as #__content. Neither phpMyAdmin nor Adminer replaces the placeholder; you type the real prefix from $dbprefix in configuration.php. The same goes for Joomla's JSON columns (params, attribs, images): both tools show and save them as plain text, so a missing comma in a module's params goes unnoticed until the module misbehaves.
Adminer has one more trap when you run several statements: each Execute is a separate connection, so a START TRANSACTION in one run and a COMMIT in the next does not do what you expect: the first run's changes are rolled back when it ends. We tested that and the other pitfalls in running a SQL query in the Joomla admin safely.
Some Joomla sites run on PostgreSQL
Joomla 6.2 ships MySQL and PostgreSQL installation scripts. phpMyAdmin cannot open a PostgreSQL database at all. Adminer can, from the same file, which makes it the only one of the two that works on every Joomla site you inherit.
The real risk: the tool outlives the job
A database tool with a login form, reachable from the internet, gets probed. Adminer's site is direct about it: delete the file when you no longer need it, or whitelist IP addresses, or put a password in front of it in the web server. On Apache that is three lines next to the file:
# tools/.htaccess – only this address may open Adminer
<FilesMatch "^adminer.*\.php$">
Require ip 203.0.113.10
</FilesMatch>
The pattern also covers the download's own name, adminer-6.3.0.php. We tested the rule on Apache 2.4.62: a request from any other address gets a 403 before PHP runs. On nginx the same goes into the server configuration. phpMyAdmin's security checklist asks for the same kind of layer (an authentication proxy in front, HTTPS only), plus removing its setup directory and denying root logins.
There is a Joomla-specific side to this. A standalone tool logs in with database credentials, not Joomla accounts. When a developer leaves the project, blocking their Joomla user does not close their database access. You have to change the database password, which means editing configuration.php on the live site too. On hosts where the panel's phpMyAdmin is the only way in, the panel login itself becomes the thing to share and later take back.
Which one for which job
- The host gives you phpMyAdmin and you have the panel login: use it. Nothing to install, nothing to clean up afterwards.
- You need exports for someone else (JSON for a script, a spreadsheet, a PDF of a table): phpMyAdmin.
- You want to follow relations while debugging (articles to categories, users to groups): phpMyAdmin with internal relationships, in its own storage database.
- No panel, or the panel login belongs to the client: Adminer, uploaded for the job, protected by IP, and deleted when you are done.
- The site runs on PostgreSQL: Adminer.
- A team needs database access in the Joomla admin for months, not for one job: a tool behind the Joomla login, below.
And for files bigger than the PHP upload limit, neither web tool is the best answer when you have SSH: mysql on the command line has no upload limit and no request timeout.
Adminer inside the Joomla login: PX Adminer
PX Adminer is our free component that runs Adminer (6.1.2 in PX Adminer 1.1.1) inside the Joomla administrator, under Components → PX Adminer. It keeps Adminer's interface and changes the parts above that matter on Joomla:
- No login form. Only Super Users can open it. Joomla hands it a one-time key that works once, for 60 seconds, in the browser that asked for it, and every page checks that the Joomla session is still active and the user is still a Super User. Block the user in Joomla and the database access ends with it.
- Nothing to find from outside. Requested directly, the bundled Adminer file stops; there is no
adminer.phpURL to probe. - Your site's database only, with the host, user and database from
configuration.php. - Joomla queries with the real prefix. Checked-out items, Super Users, disabled extensions, largest tables: picking a query fills in your table prefix, and nothing runs until you click Execute.
- JSON fields get a Format button and a "Valid JSON" check before you save.
- A dated backup in one click, and Drop or Truncate offer an export first.
It is MySQL and MariaDB only, so on a PostgreSQL site standalone Adminer is still the tool. The full list is in the PX Adminer documentation, and our phpMyAdmin alternative for Joomla post walks through four everyday jobs with it.
For client sites, PX Adminer Pro adds a safety net built for Joomla: a snapshot of the rows before every change with one-click restore, a read-only mode for chosen user groups, an IP allowlist, write protection for Joomla's user and permission tables, and an audit log.
Get PX Adminer
PX Adminer is free with a free account on ThePixel.dev. Download it from the PX Adminer page, install it in System → Install → Extensions, and open Components → PX Adminer. It needs Joomla 5 or 6, PHP 8.1+, a MySQL or MariaDB database, and Track Session Metadata set to Yes in Global Configuration, which is Joomla's default.