mod_log_sql not logging
I'm pulling my hair out over this one. I've got mod_log_sql installed, but it's not working. I've checked everything I'd think there was, and still it doesn't work.It was giving me this error in error_log:
Code:
[Thu Mar 02 20:28:51 2006] [error] mod_log_sql: child spawned but unable to open database link
Each VirtualHost has "LogSQLTransferLogFormat AbHhmRSsTUuv" in it. I have the LogSQLLoginInfo and "LogSQLCreateTables on" lines in httpd.conf too, after all the LoadModules and all.
/etc/conf.d/apache2 does include "-D LOG_SQL" in APACHE2_OPTS.
What am I missing?!
