Page 1 of 1

Problem with database exclusion in pma

PostPosted: 13. April 2008 07:08
by trejder
Hello again,

Under xampp lite pma I wanted to hide 'system' databases, i.e - those, which are used by mysql, pma, examples etc. So I used:

Code: Select all
$cfg['Servers'][$i]['hide_db'] = array('cdcol', 'information_schema', 'mysql', 'phpmyadmin', 'test', 'webauth');


And it does not seems to be working. Can some one tell me what I'm doing wrong? Because when I use only one database name (string expression, not array) like this:

Code: Select all
$cfg['Servers'][$i]['hide_db'] = 'cdcol';


It works fine. But I can't get to hiding all others databases I don't use.

Best regards and thanks for all help!
Tom

PostPosted: 13. April 2008 08:12
by Wiedmann
Can some one tell me what I'm doing wrong?

Sure, the phpMyAdmin documentation:
http://www.phpmyadmin.net/documentation ... rs_hide_db

PostPosted: 13. April 2008 09:30
by trejder
Wiedmann wrote:Sure, the phpMyAdmin documentation:
http://www.phpmyadmin.net/documentation ... rs_hide_db

My mistake! Sorry, for posting BEFORE digging through documentation! :( Thanks! EOT