Minase's Blog - FYA

phpMyAdmin で information_schema と test を非表示にする方法

投稿日:

phpMyAdmin を設定済みのお話です。
phpMyAdmin は バージョン 3.5.5 です。

information_schema と test を非表示

phpMyAdmin/config.inc.php 編集して「$cfg['Servers'][$i]['hide_db'] = '(information_schema|test)';」を追記します。
場所は分かりやすい場所で構いません。
下記は私の場合です。前後の記述で位置は分かると思います。

/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';

$cfg['Servers'][$i]['hide_db'] = '(information_schema|test)';

$cfg['Lang'] = 'ja-utf-8';

/*
 * End of servers configuration
 */

私の環境だとtestが含まれるものは全て非表示になるので「$cfg['Servers'][$i]['hide_db'] = '(information_schema)';」として回避しました。

参考リンク
http://pgshvn.livedoor.biz/archives/51825977.html