search directly for pmadb

This commit is contained in:
Mike Beck
2002-07-08 09:51:38 +00:00
parent 74f3b0628c
commit ae8dd66e04

View File

@@ -73,7 +73,7 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
} }
// check if pmadb exists // check if pmadb exists
$tab_query = 'SHOW DATABASES'; $tab_query = 'SHOW DATABASES like \'' . $GLOBALS['cfg']['Server']['pmadb'] . '\'';
$tab_rs = PMA_query_as_cu($tab_query); $tab_rs = PMA_query_as_cu($tab_query);
while ($curr_db = @PMA_mysql_fetch_array($tab_rs)) { while ($curr_db = @PMA_mysql_fetch_array($tab_rs)) {