Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide DB #422

Open
joaopinto14 opened this issue Aug 3, 2023 · 2 comments
Open

Hide DB #422

joaopinto14 opened this issue Aug 3, 2023 · 2 comments

Comments

@joaopinto14
Copy link

Is it possible to use environment variables to hide db?

@williamdes
Copy link
Member

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
Copy link

qeepcologne commented Oct 18, 2023

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;
?>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants