phpMyAdmin

Updated 14 Nov 2026 Published

phpMyAdmin

phpMyAdmin lets you browse tables, run SQL queries and edit data of your MySQL and MariaDB databases in the browser. It is a built-in app: the first-login setup wizard installs it, and it stays installed as a protected app.

Open phpMyAdmin for a database

You never need to type a database password into phpMyAdmin. The panel signs you in for you (single sign-on), scoped to databases you own:

  1. Go to Databases (/databases/).
  2. Click the phpMyAdmin (Auto-login) button on the database row, or phpMyAdmin on the database detail page.
  3. phpMyAdmin opens in a new tab, already logged in as that database's user.

Imports through phpMyAdmin are limited to 50 MB by default; an administrator can change this (see below).

Databases list with the database row actions, including the phpMyAdmin auto-login button

Note

Single sign-on works for MySQL and MariaDB databases only. For a database adopted by Reconcile, set its password on the database page first. Logging in as the MySQL root user is disabled by default — use the database's own account.

Where phpMyAdmin is served

phpMyAdmin runs on its own PHP built-in server (systemd unit phpmyadmin-php-server, running as www-data, bound to localhost when proxied). Your web server publishes it at /phpmyadmin/ on your hostnames, for example https://example.com/phpmyadmin/. The proxy configuration is written for nginx, Apache2 or OpenLiteSpeed and re-applied automatically when you switch web servers. If you open the panel through another hostname than its server domain, the phpMyAdmin buttons open it on the server domain, where /phpmyadmin/ is served.

Turn it off for one website

From 1.3.51 an administrator can stop /phpmyadmin/ and webmail from being served under a particular domain — useful for a shop or help desk that must not expose them:

  1. Open Websites, choose the site and click Edit.
  2. Untick Panel web apps on this site and save.

The setting is on by default, survives every configuration regeneration and applies to nginx and OpenLiteSpeed.

Administering phpMyAdmin

Administrators manage the installation at Databases → phpMyAdmin (/apps/phpmyadmin/). The page has four tabs:

  • Overview — status, the access URL, Databases Auto-Login buttons, and Enable trusted HTTPS, which serves /phpmyadmin/ with the panel domain's Let's Encrypt certificate, without a browser warning.
  • PHP Server — Service Control to start, stop and restart the PHP server, with its status output.
  • Configuration:
    • phpMyAdmin Version — Check shows the installed version and the latest one for your PHP. Upgrade downloads the release from phpmyadmin.net, checks its SHA-256 against the official file and its GPG signature, keeps config.inc.php, and keeps the replaced version so you can Roll back.
    • Regenerate config.inc.php — writes a fresh config with new secrets. Active phpMyAdmin sessions are signed out.
    • Change PHP Server Port — the systemd unit and proxy or firewall rule are updated for you.
    • Upload Limit — the largest import file phpMyAdmin accepts, in MB (default 50, 1–2048). It is applied to the PHP server and to the web server in front of it.
    • Web Server Proxy Integration — (re)write the /phpmyadmin/ proxy for your web server.
  • Security — Access Control for /phpmyadmin/: an IP allowlist (one address or CIDR range per line; empty means no restriction, and 127.0.0.1 and ::1 are always allowed) and an optional HTTP Basic-Auth password in front of phpMyAdmin. Both work on Nginx, Apache2 and OpenLiteSpeed, and single sign-on from the panel keeps working. When you use the allowlist, include your own address and those of users who open their databases from the panel.

phpMyAdmin app page with installation status, Quick Access & Auto-Login and the per-database Login buttons

Tip

Users who are not administrators only see a read-only status view of this page; they reach phpMyAdmin through the auto-login buttons on their own databases.

PostgreSQL databases are not handled by phpMyAdmin. Manage them from Databases and the PostgreSQL app, which includes phpPgAdmin (see MySQL & MariaDB).

On this page