On Wed, Nov 17, 2004 at 02:37:14PM -0600, Aman Raheja wrote:
I am simply connecting to a mysql db and using the same piece of code.
While it connects if I run the code on command line, it fails if I
access the same piece of through a web browser.
Env
Fedora Core 3 (kernel 2.6.9-1.667)
httpd-2.0.52-3 (apache)
mysql-3.23.58-13
perl-DBI-1.40-5
perl-DBD-MySQL-2.9003-5
Anyone seen such behavious?
Do you have any settings stored in the ~/.my.cnf directory? Or, by
chance, any settings stored in the .my.cnf file in the home directory of
the user that your web application/script runs as?
G'luck,
Peter