[DB-SIG] Oracle, Python and CGI
Mon, 4 Aug 1997 13:12:18 -0400 (EDT)
> I'm trying to access an Oracle DB from a Python script being called via
> > CGI. When I tried to connect to Oracle, I got this error:
> > cobj = oracledb.oracledb('ffoo/bar')
> > OracleDbError: LOGON caused a Error while trying to retrieve text for
> > error ORA-01019
> You probably dont have the oracle environment variables set
> you may try to set them throug os.environ before connecting or
> launch the python script through a shell script doing the setting
> Hannu Krosing
Yeah, I just figured that out. I'm mildly fried (yeah, and it's only Monday).
One of these days I'll remember this /before/ I post here.
DB-SIG - SIG on Tabular Databases in Python
send messages to: email@example.com
administrivia to: firstname.lastname@example.org