Re:

Поиск
Список
Период
Сортировка
Искать
От
Fischl Anton
Тема
Re:
Дата
в 18:54:06
Msg-id
001401be9c00$bfc8e620$02c8c8c8@dochacker.doc
Список
Дерево обсуждения
"Mario Simeone" <msimeone@freemail.it>
The Problem is, that your WEB-Server (executing the Perl-script) tries to
connect to the Postgres-Server with his Username ("nobody").

Under Postgres, create the user "nobody", give him all the rights he need
and it should work.

-----Ursprüngliche Nachricht-----
Von: Ilhuicatzi Cortes J. Henry 
An: fischl@gmx.de 
Datum: Donnerstag, 13. Mai 1999 00:06


>Hi :
>
>  Im trying to run this CGI.
>
>#!/usr/bin/perl -w
>
>use Pg;
>
>
>print "Content-type: text/html\n\n";
>
>$database = "henric";
>$server = "iris1.ingenieria.uatx.mx";
>$conn = Pg::setdb($server,5432,'','',$database);
>$namedb = $conn->db;
>$error = $conn->errorMessage;
>
>print <
>Resultados de Postgres
>
>

Hola mundo

> Conectado a la base de datos: $namedb
>EOF > >if ($error ne '') { > print "ERROR: ", $error; > print "\n"; > exit 1; > } > >print"Hasta aqui todo esta bien!!"; >print qq ( > >); > > > When type perl conexion.cgi i get the next result. > >iris1% perl conexion.cgi >Content-type: text/html > > >Resultados de Postgres > > Conectado a la base de datos: henric
>Hasta aqui todo esta bien!! > >iris1% > > I think that all it's O.K and then i try to run it in a browser and i >get the next result. > >Conectado a la base de datos: henric >ERROR: FATAL 1: SetUserId: user 'nobody' is not in 'pg_shadow' > > > What's wrong? > > > Im using Pg in the new Style. > > >Atte. >Henry Ilhuicatzi Cortes >Departamento de Ingenieria y Tecnologia >Universidad Autonoma de Tlaxcala >Mexico. >
В списке pgsql-interfaces по дате отправления
От: Peter Harvey
Дата:
Сообщение: PostgreSQL - ODBC - unixODBC
От: Keith/Suzanne Barron
Дата:
Сообщение: error when make of JDBC driver
FAQ