I am not able to connect to oracle database even though i am using following syntax
$dbh = DBI->connect('dbi:Oracle:host=<host>;sid=<sid name>;port=1523','user name','password', { RaiseError => 1, AutoCommit => 0 });
i am getting following error
failed: ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
Can anybody help me please?