Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connecting oracle 9i

Status
Not open for further replies.

rk68

Programmer
Jul 15, 2003
171
IN
I'm getting an error while connecting to oracle using the following code:
$sDataBaseHandler = DBI->connect ( "DBI:Oracle:host=lyris; sid=dems; port=22", 'demsuser', 'demsuser' ) ;

the error is: DBI connect failed.

is there any error in the above code as the database name, sid, password & userid is correct.

TIA
Raj
 
does $DBI::errstr give you any more details? connect syntax looks alright according to the pod

________________________________________
Andrew

I work for a gift card company!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top