Hi! Everybody
I would be really grateful if someone will help me in solving my
problem.
I want to use DBI and DBD module for connecting to Oracle. I have
downloaded the DBI-1.28 tar and also DBD-Oracle 1.12 and installed
them. Now the problem comes. when i try to connect with my
database with the help of following script
use strict;
use DBI;
my $dbh = DBI->connect( 'dbi:Oracle:orclfr',
'satyajit',
'baunana',
) || die "Database connection not made:
$DBI::errstr";
$dbh->disconnect();
it is giving the following errors
DBI->connect(orclfr) failed: (Q�w�\�w (DBD: login failed, check
your config, e.g. ORACLE_HOME/bin on your PATH etc) at
D:\Documents and Settings\satyajit\Desktop\dataconnect.pl line 4
Database connection not made: (Q�w�\�w (DBD: login failed, check
your config, e.g. ORACLE_HOME/bin on your PATH etc) at
D:\Documents and Settings\satyajit\Desktop\dataconnect.pl line
4.
Tool completed with exit code 255
I dont understand the problem. I tried my best but not successful
so far. Pls help me if anybody of u know the solution. i am using
oracle 8i and Active perl 5.6.1.
Thanking you in advance,
Best Regards,
Satyajit Patra
Bioinformatics Centre,
Pune University
INDIA
_________________________________________________________
There is always a better job for you at Monsterindia.com.
Go now http://monsterindia.rediff.com/jobs