Docker environment variables ¶
You can configure several phpMyAdmin features using environment variables:
PMA_ARBITRARY
¶-
Allows you to enter a database server hostname on login form.
See also
PMA_HOST
¶-
Hostname or IP address of the database server to use.
See also
PMA_HOSTS
¶-
Comma-separated hostnames or IP addresses of the database servers to use.
Note
Used only if
PMA_HOST
is empty.
PMA_VERBOSE
¶-
Verbose name of the database server.
See also
PMA_VERBOSES
¶-
Comma-separated verbose name of the database servers.
Note
Used only if
PMA_VERBOSE
is empty.
PMA_USER
¶-
User name to use for Config authentication mode.
PMA_PASSWORD
¶-
Password to use for Config authentication mode.
PMA_PORT
¶-
Port of the database server to use.
PMA_PORTS
¶-
Comma-separated ports of the database server to use.
Note
Used only if
PMA_PORT
is empty.
PMA_ABSOLUTE_URI
¶-
The fully-qualified path (
https://pma.example.net/
) where the reverse proxy makes phpMyAdmin available.See also
By default, Cookie authentication mode is used, but if PMA_USER
and PMA_PASSWORD
are set, it is switched to Config authentication mode.
Note
The credentials you need to log in are stored in the MySQL server, in case of Docker image, there are various ways to set it (for example MYSQL_ROOT_PASSWORD
when starting the MySQL container). Please check documentation for MariaDB container or MySQL container.