Environment Variables?  which ones?

> -----Original Message-----
> From: Tim Bunce [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 31, 2001 9:13 AM
> To: John Menke
> Cc: Dbi-Users (E-mail)
> Subject: Re: ReL DBD-ERROR: OCIServerAttach -> ORA-12514
> 
> 
> Perhaps environment variables.
> 
> Tim.
> 
> On Mon, Dec 31, 2001 at 07:53:55AM -0500, John Menke wrote:
> > Dan,  I have attached the code.  What is strange is that I 
> > CAN execute the script without errors using a program called 
> > PsExec.  This program is designed to run programs on remote 
> > computers.  If I trigger running the script with the PsExec 
> > it works fine.  When I run from the command line on the local 
> > computer it gives the RE: DBD-ERROR: OCIServerAttach -> ORA-12514.
> >  
> > Not sure what the difference is.  
> > 
> > Here is the code:
> > 
> > %attr = (
> > 
> > PrintError => 1,
> > RaiseError => 1
> > );
> > 
> > 
> > eval {
> >  $dbh = DBI->connect ("dbi:Oracle:$datasourcename", "user", 
> "password", \%attr);
> > };
> > 
> > 
> > > 
> > > 
> > > 
> > > 
> > > > Hi John
> > > > 
> > > > Can you provide a code snippet?
> > > > 
> > > > Dan
> > > > 
> > > 
> 


Reply via email to