Re: listing databases

Поиск
Список
Период
Сортировка
От Adam Lang
Тема Re: listing databases
Дата
Msg-id 00b001c0440e$fd1f6d20$330a0a0a@6014cwpza006
обсуждение исходный текст
Ответ на listing databases  (magnus <reduct@asa.de>)
Список pgsql-php
I don't know of a way.  To connect to postgresql I think it is mandatory to
include the dbname.  Even if you didn't, there is no function that lists the
DBs on the system.

Unfortunately that is something MySQL in PHP has.  You can connect to jsut
the Server, and it has a function called mysql_list_dbs which returns a
result set of databases on the server.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
----- Original Message -----
From: "magnus" <reduct@asa.de>
To: <pgsql-php@postgresql.org>
Sent: Wednesday, November 01, 2000 10:02 AM
Subject: [PHP] listing databases


> Hello,
> Can anyone tell me how to list (1.) databases and (2.) tables in a
> database using php?
> Thanks,
> Magnus Lawrie


В списке pgsql-php по дате отправления:

Предыдущее
От: magnus
Дата:
Сообщение: listing databases
Следующее
От: Louis Bertrand
Дата:
Сообщение: Re: listing databases