RE: Perl coredump when using ora_dbh_share to connect to Oracle DB's

[email protected] (John Scoles)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
Hard to say exatly are you sure you are connecting to oracle corretly??

 

use DBI;

my $dsn = 'DBI:Oracle:host=localhost;port=1527;sid=XXX';

 

is a rather odd dsn

 

I usually put 

 

use DBD::Oracle;

 

after the DBI part.

 


 
> Date: Wed, 31 Mar 2010 16:31:11 +0200
> Subject: Perl coredump when using ora_dbh_share to connect to Oracle DB's
> From: [email protected]
> To: [email protected]; [email protected]
> CC: [email protected]
> 
> Hi all,
> 
> I get a core dump when using attached script to connect to an Oracle
> DB. Anyone here having a hint what's going wrong?
> I need this (probably) to get Log::Log4perl::Appender::DBI run fine in
> a multithreaded environment.
> 
> Best regards and thanks in advance,
> Jens
 		 	   		  
_________________________________________________________________
Check your Hotmail from your phone. 
http://go.microsoft.com/?linkid=9712957
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.