Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2002
    Posts
    1

    Unanswered: help on connecting Oracle database on Network....

    hi all,
    i am working on a project where i need to connect to a server which run on Oracle.i have write a script on that local server to query some data and it work fine.but when i move this cgi script to another server and want to connect back to the server on Oracle,it just query nothing........i have write this code to connect:

    use DBI:
    $dbh = DBI->connect("DBI:Oracle:host=colldata;sid=Device",use r,password)
    or die "Can't connect to Oracle database: $DBI::errstr\n";

    but it just cant work .......any1 can help me on that????

    thanks all.

  2. #2
    Join Date
    Jul 2002
    Posts
    2
    Did you install an Oracle driver on the other server ? If not than install the Oracle Client on it and than run the script.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •