Skip to content

Commit ebf4a09

Browse files
committed
Document missing Docker ENVs PMA_CONTROL{HOST,PASS,PORT,USER} and PMA_PMADB
Fixes: phpmyadmin/docker#378 Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent 7495863 commit ebf4a09

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

doc/setup.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,39 @@ You can configure several phpMyAdmin features using environment variables:
243243

244244
.. seealso:: :config:option:`$cfg['QueryHistoryMax']`
245245

246+
.. envvar:: PMA_CONTROLHOST
247+
248+
When set, this points to an alternate database host used for storing the ":ref:`linked-tables`" database.
249+
250+
.. seealso:: :config:option:`$cfg['Servers'][$i]['controlhost']`
251+
252+
.. envvar:: PMA_CONTROLUSER
253+
254+
Defines the username for phpMyAdmin to use for the ":ref:`linked-tables`" database.
255+
256+
.. seealso:: :config:option:`$cfg['Servers'][$i]['controluser']`
257+
258+
.. envvar:: PMA_CONTROLPASS
259+
260+
Defines the password for phpMyAdmin to use for the ":ref:`linked-tables`" database.
261+
262+
.. seealso:: :config:option:`$cfg['Servers'][$i]['controlpass']`
263+
264+
.. envvar:: PMA_CONTROLPORT
265+
266+
When set, will override the default port (`3306`) for connecting to the control host.
267+
268+
.. seealso:: :config:option:`$cfg['Servers'][$i]['controlport']`
269+
270+
.. envvar:: PMA_PMADB
271+
272+
When set, define the name of the database to be used for the ":ref:`linked-tables`" database.
273+
When not set, the advanced features are not enabled by default: they can still potentially be enabled by the user when logging in with the :ref:`zeroconf` feature.
274+
275+
.. note:: Suggested values: `phpmyadmin` or `pmadb`
276+
277+
.. seealso:: :config:option:`$cfg['Servers'][$i]['pmadb']`
278+
246279
.. envvar:: HIDE_PHP_VERSION
247280

248281
If defined, this option will hide the PHP version (`expose_php = Off`).

0 commit comments

Comments
 (0)