in reply to Re^13: CGI-SQL Query Issue
in thread CGI-SQL Query Issue

Try the same username/password/sid as your SQLplus connection.
Run this to compare the web and command line environments

#!/usr/bin/perl use strict; use warnings; use Data::Dumper; print "Content-type: text/plain\n\n"; print Dumper \%ENV;
poj

Replies are listed 'Best First'.
Re^15: CGI-SQL Query Issue
by Anonymous Monk on Mar 19, 2016 at 19:43 UTC
    Hi, Can you please tell about this SID? It seems it is not configured in my system. When I do a print of $ORACLE_SID, it does not print anything..

      See connect, if ECSP is a service name then try that.

        ECSP is my Database name..