Syntactic Confectionery Delight | |
PerlMonks |
DBI and Oracle ORA-12505 errorby jmb (Novice) |
on May 13, 2013 at 14:22 UTC ( [id://1033297]=perlquestion: print w/replies, xml ) | Need Help?? |
jmb has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am seeking for your wisdom because I have a strange connectivity problem with DBI and an Oracle 11.2.0.3 server. First of all, a disclosure: I am not experienced in Oracle. So, here is my problem: When I try to connect using the usual dsn/user/password format, thus (according to my understanding) basing the connection on the tnsnames.ora conf file, I obtain the following connection error:
But when I connect using an alternative parameter format and reproduce the exact entry of the tnsnames.ora file in my code, as a string, then I am able to connect. By the way, the tnsnames.ora file seems to be ok, as the Oracle SQL Developper client can use it successfully to connect. Does any person with Oracle experience have any ideas about why this is happening ? Thank you in advance for your feedback. Here is the code I am using:
Back to
Seekers of Perl Wisdom
|
|