Subject: | Error using AuthDBI with MySQL |
Apache::AuthDBI does not work in my configuraton with Apache2 and MySQL
because the DBI command '$sth->rows()' always returns 0. (Even if a
password record has been found.)
Apache/AuthDBI.pm (line ~ 1340):
undef $passwd if 0 == $sth->rows; # so we can distinguish later on
between no password and empty password
Also the documentation for DBI.pm says not to use sth->rows() with
SELECT-Statements because not all DB-drivers return a correct value.
My configuration:
- RedHat Fedora Core 4
- perl, v5.8.6
- DBI 1.48
- DBD-mysql-2.1025
- Apache/2.0.54