I have a cgi script that can't seem to connect to a mysql database when running from the web. When I logon and run it from the command line, it works fine! It dies on the $dbh->connect(...) line. It dies before the line returns so I can't check $DBI::err or $DBI::errstr. Does mysql use any environment variables that need to be setup to run as a cgi script?
- Re: can't connect to mysql database from web Ian Feldberg
- Re: can't connect to mysql database from web Roman Boykow
- Re: can't connect to mysql database from web Ian Feldberg
- RE: can't connect to mysql database from web Sterin, Ilya
- RE: can't connect to mysql database from web Wilson, Doug