Phpmyadmin Manager

Manage the phpMyAdmin Docker container for local dev environments. Provides a web UI for MySQL at http://localhost:8081. Requires mysql-manager and proxy-manager to be running first.

Audits

Pass

Install

openclaw skills install phpmyadmin-manager

phpMyAdmin Manager

Manages the phpMyAdmin Docker container, providing a web UI for MySQL database management.

Architecture

phpmyadmin-manager/
├── docker-compose.yml   # phpMyAdmin 5.2 container
└── run.sh               # lifecycle CLI

Connects to the shared nginx-proxy_net network and reaches MySQL at codai_db:3306. No data is persisted — phpMyAdmin is stateless.

Commands

./run.sh start    # start phpMyAdmin container
./run.sh stop     # stop container
./run.sh status   # show status and URL
./run.sh open     # print access URL

How to Execute Tasks

Start phpMyAdmin

Check your session context for the absolute script path, then run:

<plugin-root>/phpmyadmin-manager/run.sh start

Open http://localhost:8081 in a browser. Login: root / MySQL root password.

Check status

<plugin-root>/phpmyadmin-manager/run.sh status

Prerequisites

Start in this order:

  1. proxy-manager start — creates the shared Docker network
  2. mysql-manager start — MySQL must be running before phpMyAdmin connects

Configuration

VariableDefaultPurpose
PMA_CONTAINERcodai_phpmyadminContainer name
PMA_PORT8081Host port
MYSQL_CONTAINERcodai_dbMySQL hostname on shared net
MYSQL_ROOT_PASSWORDsecretMySQL root password
PMA_UPLOAD_LIMIT64MMax SQL file upload size
CODAI_NETWORKnginx-proxy_netShared Docker network name

Rules

  • Start mysql-manager before this plugin — phpMyAdmin cannot connect without MySQL.
  • Port 8081 is bound to 127.0.0.1 — accessible from the host only.
  • Use stop when done; the container uses restart: unless-stopped and survives reboots.

Related Plugins

  • proxy-manager — creates the shared Docker network (start first)
  • mysql-manager — MySQL container that phpMyAdmin connects to