phpMyAdmin
phpMyAdmin gives you a friendly web interface to manage MariaDB/MySQL: browse tables,
run queries, import/export data, and handle users—without living in the SQL CLI.
From the left navigation, click phpMyAdmin. We’ll open it in a new tab
on port 884
and sign you in automatically with a short-lived token.
Who can use it
- Root only from the panel. (Resellers and end-users don’t get direct phpMyAdmin SSO here.)
How the one-click login works
- When you click phpMyAdmin, the panel reads
/root/.my.cnf
(the root DB credentials) and drops a couple of short-lived cookies for phpMyAdmin to use. - We immediately open
https://<your-hostname>:884/
in a new tab and you land signed in. - If you wait too long before the new tab loads, the token can expire—just click again.
Prerequisites (quick checklist)
- phpMyAdmin service: installed and running (enabled in Services → Database, and
systemctl is-active phpmyadmin
shows active). - Port 884 open: firewall allows
884/tcp
, and nothing else is bound there. - SSL works: you can reach
https://your-hostname:884/
(self-signed is OK, but your browser may prompt). - /root/.my.cnf present: contains valid
[client]
user
andpassword
for MariaDB.
Common “blank tab” fixes
If the phpMyAdmin tab opens but shows a blank/white page, walk through these quick checks:
- Service actually running?
systemctl status phpmyadmin
If it’s not active:systemctl restart phpmyadmin
and reviewjournalctl -u phpmyadmin -n 50
. - Port reachable?
ss -tlnp | grep :884
should show a listener, andcurl -vk https://<HOST>:884/
should return HTML (ignore SSL warnings if self-signed). - Firewall allows it?
On firewalld:firewall-cmd --add-port=884/tcp --permanent; firewall-cmd --reload
. - Hostname vs. IP:
Use the same host you use for the panel (e.g.,server.example.com
). If you open via raw IP and your browser blocks cookies or SSL, the page may appear blank. Try hostname first. - Token timing:
The SSO cookies are intentionally short-lived. If your network is slow, simply click phpMyAdmin again to refresh the token. - Root DB creds available:
Ensure/root/.my.cnf
has:[client] user=root password=YOUR_DB_PASSWORD
and that you can runmysql -e "SELECT 1"
as root on the server. - Look at phpMyAdmin logs:
Check/opt/shm/phpmyadmin/logs/
(and webserver logs) for PHP errors or missing extensions.
Security tips
- Keep phpMyAdmin disabled if you don’t need it; enable when needed via Services.
- Restrict access to port 884 in your firewall to trusted IPs.
- Rotate the DB root password if you suspect it’s stale or leaked.
Heads-up: If your browser blocks third-party cookies or tightens cross-site rules, the SSO can be affected.
Opening via your panel hostname (not the server IP) usually resolves it.