| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера