I try the client test.. if I can get a SQL plus client to connect successfully to the remote database from the webserver machine, then, most of my connection worries are solved. IIRC, DBD::Oracle requires that the Oracle client libraries be installed. The easiest way to do this is to actually install the SQL-plus client on the server machine..
Make sure that any user privileges/permissions issues are sorted out, and thereafter,
or even the conventional connection method (using the TNS entry) will work.. try these links for some further information... http://www.med.univ-rennes1.fr/~poulique/cours/perl/dbi_oracle.htmluse DBI; my $dbh = DBI->connect('dbi:Oracle:host=machine_name;sid=ORCL;port=152 +1', 'scott', 'tiger', { RaiseError => 1, AutoCommit => 0 });
In reply to Re: Connecting to a remote Oracle database from CGI scripts
by tinman
in thread Connecting to a remote Oracle database from CGI scripts
by passalack
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |