Tony L.
12/28/2008 7:11:00 PM
Raju Alluri wrote:
> Hi,
> I am trying to print a set of data from database with a CGI script. This
> script works fine a simple ruby script. But doesnt work in cgi script.
> Any help is appreciated.
When calling it on the console it is you (i.e. the user ID you are
logged in with).
When calling the CGI it is the webserver (i.e. the user ID under which
it is running) that is executing your code.
Are you sure that the webserver has the permission to connect to the DB?
T.