phpmyadmin / docker

Docker container for phpMyAdmin
https://hub.docker.com/_/phpmyadmin
GNU General Public License v3.0
663 stars 453 forks source link

Hide DB #422

Open joaopinto14 opened 1 year ago

joaopinto14 commented 1 year ago

Is it possible to use environment variables to hide db?

williamdes commented 1 year ago

For now there is no ENV variable that does that, it would need to be added to https://github.com/phpmyadmin/docker/blob/master/config.inc.php

qeepcologne commented 11 months ago

you can add config.user.inc.php example:

<?php
$i = 1;
$cfg['Servers'][$i]['ssl'] = true;
$cfg['Servers'][$i]['hide_db'] = 'information_schema|performance_schema'; 
$cfg['MaxNavigationItems'] = 999;
$cfg['NavigationWidth'] = 360;
$cfg['ExecTimeLimit'] = 3600;
?>