![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: Connecting DBD::Oracle without using TCP/IPby Rhose (Priest) |
on Dec 23, 2003 at 19:15 UTC ( #316687=note: print w/replies, xml ) | Need Help?? |
DBD::Oracle uses a TNS connect string to connect to the database. Depending on your Oracle client install the TNS names could be stored in a flat file called tnsnames.ora, on a names server, or in OID (Oracle internet directory) repository. Anyway, define a TNS name which will connect to the database in question and test the connection with SQL*Plus. Once you are able to connect with SQL*Plus, try connecting as below:
Update:
The ORACLE_SID of the database to which I was connecting is "nboprd00". To use this TNS name with the connection code above, set $TNS='beqtst'; One other CYA, I did not test this with DBD::Oracle... I only tested it with SQL*Plus (I do not have DBD::Oracle installed on this test system, and I am not about to play with my install an hour before I leave for holiday. *Grins*)
In Section
Seekers of Perl Wisdom
|
|