Hi,

I'm having some problems connecting to a Oracle db. The syntax I'm using is..

$dsn = "DBI:Oracle:host=$host;sid=$sid";
$dbh = DBI->connect($dsn, $user, $password) or die "Error...$DBI::errstr\n";

but I keep getting the error

ORA-12203: TNS:unable to connect to destination (DBD ERROR: OCIServerAttach)

This is my first attempt at using DBI so I apologise in advance if I've missed 
something obvious.

          Chris


--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

Reply via email to