Re: mod_log_sql do ot create tables
vlady <[email protected]>
| Newsgroups | gmane.comp.apache.mod-log-sql |
|---|---|
| Message-ID | <[email protected]> |
Alan Wilson wrote: > vlady wrote: > >> Hi All, >> I just installed and conigured apache with mod_log_sql . When I >> start apache I am getting in the error log the following message : >> [error] mod_log_sql: child spawned but unable to open database link >> >> I check if the user apache can connect to mysql server and create >> tables and it worked. Does someone can help me with that? >> >> Thanks for any help. >> vlaady >> >> __________________________________________________________________ >> Reminder: to unsubscribe, send email to <[email protected]> >> with the words "unsubscribe mod_log_sql" in the body (w/o quotes). >> The module homepage is http://www.grubbybaby.com/mod_log_sql/ > > > When you grant apache rights to the database, do an identical insert with > apache@localhost > and > [email protected] > and > apache@yourserver > > i.e. > grant insert on log_table.* to apache@localhost; > > grant insert on log_table.* to apache@yourserver; > etc. > That's what I did, now it works. > > > > > __________________________________________________________________ > Reminder: to unsubscribe, send email to <[email protected]> > with the words "unsubscribe mod_log_sql" in the body (w/o quotes). > The module homepage is http://www.grubbybaby.com/mod_log_sql/ > > I am configured it already like that. I wonder if it could be only probem of configuration of my DB, or the mod_log_sql colud not be compiled well.... I have compiled my MySQL statically for example and I dont have libmysqlclient.so but libmysqlclient.a and libmysqlclient.la __________________________________________________________________ Reminder: to unsubscribe, send email to <[email protected]> with the words "unsubscribe mod_log_sql" in the body (w/o quotes). The module homepage is http://www.grubbybaby.com/mod_log_sql/