Skip to content

Instantly share code, notes, and snippets.

@RobbiNespu
Created September 19, 2015 16:55
Show Gist options
  • Save RobbiNespu/c8ae9f17a4af177bd58e to your computer and use it in GitHub Desktop.
Save RobbiNespu/c8ae9f17a4af177bd58e to your computer and use it in GitHub Desktop.
Hide default databases from phpmyadmin
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