Re: [cx-oracle-users] Installation of cx_Oracle-4.1.2 for py2.5b1. It worked!!
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2006-07-05 14:21:54
|
On 7/5/06, Amaury Forgeot d'Arc <ama...@gm...> wrote: > Hello, > > 2006/7/5, Paparipote . <pap...@ho...>: > > 4) Into c:\ora I created: c:\ora\network\admin and into admin I created 2 > > files: sqlnet.ora and tnsnames.ora ; tnsnames.ora contains info of > > connections to Ora databases. > > These files are no more mandatory with Oracle 10, where the database > info can be spelled "server/SID" (then the protocol is tcpip, on port > 1521) > ex: connect scott/tiger@localhost/ORCL > > > 5) I also created a new system variable: ORACLE_HOME to put the path: c:\ora > > I suppose this is needed only to find the tnsnames.ora file. Oracle uses the environment variable TNS_ADMIN if you want to specify a directory different from the ones it normally searches in looking for the TNS administration files (like tnsnames.ora). As has already been stated, you can identify a database using the host and its SID (as above). Oracle generally does not recommend setting the environment variable ORACLE_HOME on Windows as it can interfere with multi-homing on that platform and can occasionally cause weirdnesses of various sorts to appear. All that is needed is for the directory to be in the PATH environment variable and Oracle does the rest. > -- > Amaury Forgeot d'Arc > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |