develooper Front page | perl.dbi.users | Postings from May 2008

Re: OCIEnvNlsCreate error with DBD::Oracle 1.21 and Oracle 10g clientin Cygwin

Thread Previous | Thread Next
From:
Jared Still
Date:
May 2, 2008 11:51
Subject:
Re: OCIEnvNlsCreate error with DBD::Oracle 1.21 and Oracle 10g clientin Cygwin
On Fri, 2008-04-25 at 09:08 -0700, Dunston Rocks wrote:
> $ENV{TNS_ADMIN}        = 'C:\oracle\product\10.2.0\client_2\NETWORK\ADMIN\tnsnam
> es.ora';     # Also tried replacing these with POSIX-Style paths
> $ENV{ORACLE_HOME}      = "C:\oracle\product\10.2.0\client_2";
> $ENV{NLS_LANG}          = "AMERICAN_AMERICA.WE8DEC";

Get rid of them backslashes, that's DOS stuff!  :)

you can use ENV{ORACLE_HOME} = "C:/oracle/product/10.2.0/client_2"

or (IIRC)  ENV{ORACLE_HOME} = "C:\\oracle\\product\\10.2.0\\client_2"

Personally, I always use the first form.

HTH

Jared



Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About