springcake has asked for the wisdom of the Perl Monks concerning the following question:
my $connection = new Win32::ODBC($DSN); print qq(Content-type: text/html\n\n); if (!$connection) { print "Could not open connection to DSN because of [$!]"; }
I'm guessing that this is due a permissions issues, when I run it from the command line it is running under my own user, but when I run it in a browser it runs under the "web browser" users. I have a similar script running on my server that connects to a local database, and it works fine.
Can you direct me to where I should look to add/change permissions?
This problem is driving me crazy, please can someone help, too many sleepness nights have passed so far!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Connection to SQL not working through web browser
by chromatic (Archbishop) on Sep 23, 2008 at 17:50 UTC | |
|
Re: Connection to SQL not working through web browser
by Corion (Patriarch) on Sep 23, 2008 at 13:35 UTC | |
|
Re: Connection to SQL not working through web browser
by moritz (Cardinal) on Sep 23, 2008 at 13:58 UTC |