Created
September 19, 2015 16:55
-
-
Save RobbiNespu/c8ae9f17a4af177bd58e to your computer and use it in GitHub Desktop.
Hide default databases from phpmyadmin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Most of the case, i never / dont need to open the default databases such information_schema, cdcol..etc | |
So why not just hide this from phpmyadmin ? Open C:\xampp\phpMyAdmin\config.inc.php and add code below inside that file | |
/* hide database from phpmyadmin */ | |
$cfg['Servers'][$i]['hide_db'] = '^(information_schema|mysql|phpmyadmin|cdcol|foo|webauth)$'; | |
Reload apache and mysql to see the result in phpmyadmin.. ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment