diff --git a/server_synchronize.php b/server_synchronize.php index 1cee388732..83acf6b137 100644 --- a/server_synchronize.php +++ b/server_synchronize.php @@ -1170,7 +1170,10 @@ if (! isset($_REQUEST['submit_connect']) $databases_to_hide = array( 'information_schema', 'mysql' - ); + ); + if (PMA_DRIZZLE) { + $databases_to_hide[] = 'data_dictionary'; + } if ($GLOBALS['cfg']['AllowArbitraryServer'] === false) { $possibly_readonly = ' readonly="readonly"'; @@ -1278,23 +1281,22 @@ if (! isset($_REQUEST['submit_connect']) $db) { + if (in_array($db['SCHEMA_NAME'], $databases_to_hide)) { + unset($databases[$array_key]); + } else { + $options_list .= ''; + } } if (count($databases) == 0) { echo __('No databases'); } else { - echo ' - '; + echo ''; + unset($options_list); } echo ' ';