I am using DBI, DBD:Oracle to connect to database through a perl script in cgi directory from Apache.
I am getting following error while I run the .cgi script...
[Thu Mar 20 17:07:55 2003] [error] [client 140.176.34.111] DBI connect('host=hostname;sid=orcl;port=1521','user','passwod') failed: at C:/Program Files/Apache Group/Apache2/cgi-bin/test_db2_new.pl line 20
[Thu Mar 20 17:07:55 2003] [error] [client 140.176.34.111] Error:
I am using Apache web server 1.2 running on windows 2000 and my database is on HPUX.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
sehgaln:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
adg080898
He got two responses, one on the same day and one the day after. It's been 6 months with no response.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
my(@aDBILogin) = (
'DBI:Oracle:__THEDATABASE_
'__THEUSERNAME__',
'__THEPASSWORD__'
);
my($dbh);
$dbh = DBI->connect(@aDBILogin);
$dbh->{RaiseError} = 1;