Accessing the database

Поиск
Список
Период
Сортировка
От Pragati Sagar
Тема Accessing the database
Дата
Msg-id 001e01bfcc82$76b8caa0$2ea093c0@sapientinfotech.com
обсуждение исходный текст
Ответы Re: Accessing the database
Re: Accessing the database
Список pgsql-admin
Hi!
I connecting the postgreSQL database through the following code:

<?
$conn=pg_connect("<IP address>","<port>","","","<database>");
$index=pg_exec($conn,"select * from table1");
?>

On execution of this code from the browser, following error appears :

Warning: PostgresSQL query failed: ERROR: table1: Permission denied. in
/home/httpd/html/script.php3 on line 8

Where am I going wrong? Does the code have a problem or there is something
wrong with the permissions.
Please help me out.

Thanks
Pragati


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

Предыдущее
От: "Marcel"
Дата:
Сообщение: CYGWIN1.DLL
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Future plans for raw devices ?