to printh the list of databases