_Pg module and CGI

John nobody at nobody.com
Sun Apr 7 01:44:25 EST 2002


Thanks for email answer. In cygwin, it was "createuser"

">
> Hi, assuming to build an application getting SQL statement from html form
> and processing the query in postgresql, how can I add this "web user" to
> access the database?
>
> Error I get:
> Traceback (most recent call last): File "c:\inetpub\scripts\sd.cgi", line
> 15, in ? db=_pg.connect('template1','localhost') _pg.error: FATAL 1: user
> "IUSR_VALUED-VYL4TJPA" does not exist
>
> Remedy I tried:
> adduser IUSR_VALUED-VYL4TJPA in UNIX prompt
> (but there wasn't such command)
>
> I'd appreciate your help very much!
>
>
>





More information about the Python-list mailing list