Great, was a stupid question thanks...
On Thu, 13 Jan 2005 11:20:04 -0800, Vergara, Michael (TEM) <[EMAIL PROTECTED]> wrote: > Hernan: > > In your string 'dbi:Oracle:db', the characters 'db' need > to be replaced with your Oracle SID. For example, if > your database's SID is 'TEST' (e.g.: you connect to the > database with "sqlplus system/[EMAIL PROTECTED]"), then > your code should read 'dbi:Oracle:TEST'. > > HTH, > Mike > > > -----Original Message----- > From: Hernan Arredondo [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 13, 2005 11:11 AM > To: [email protected] > Subject: New in DBI > > Hi all, I'm new in DBI and I'm really stuck, some can explain me this code: > > use DBI; > > my $dbh = DBI->connect( 'dbi:Oracle:db', > '$username', > '$passwd', > ) or die "$DBI::errstr"; > EOF > > its supposed I get a connection with that ? > > 'dbi:Oracle:db' -> this is the driver and the database associated, > where I can config the host where the Oracle DB resides ? > > Please excuse if my question is stupid but I search in the docs and > nothing about this is explained.... > > Hernan Dario A. > > -- > No matter how fast processors get, > software consistently finds new ways to eat up the extra speed > -- No matter how fast processors get, software consistently finds new ways to eat up the extra speed
