mod_auth_mysql Fun
Spent all morning fighting with mod_auth_mysql
At some point the mysql_connect call was removed from the mysql client libraries and replaced with mysql_real_connect. The version of mod_auth_mysql that I had didn’t apparently didn’t receive that email.
- Download new version from SourceForge
- Compile
- Install
- httpd configtest
Can’t locate API module structure `auth_mysql_module’ in file /usr/local/libexec/apache/mod_auth_mysql.so: Undefined symbol “auth_mysql_module”
Huh ?
The old module used “auth_mysql_module” in the LoadModule line and the new one does not.
So change the line:
LoadModule auth_module libexec/mod_auth_mysql.so
LoadModule mysql_auth_module libexec/mod_auth_mysql.so