Re: works fine on command line and fails through apache
Peter Pentchev <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
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 -- Peter Pentchev [email protected] [email protected] [email protected] PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 What would this sentence be like if it weren't self-referential?
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBnFbp7Ri2jRYZRVMRApYcAJ9iCjh+zyG7bMT1X4jWRkhnb6REegCeLmNR 0lrdzcYq8JAG7V9lyfA/hPM= =6yGW -----END PGP SIGNATURE-----