[squid-users] [DMARC] log_db_daemon errors

jose.rodriguez at cenpalab.cu jose.rodriguez at cenpalab.cu
Thu Nov 2 19:14:24 UTC 2023


On 2023-11-02 13:46, Brendan Kearney wrote:
> list members,
> 
> i am trying to log to a mariadb database, and cannot get the 
> log_db_daemon script working.  i think i have everything setup, but an 
> error is being thrown when i try to run the script manually.
> 
> /usr/lib64/squid/log_db_daemon 
> /database:3306/squid/access_log/brendan/pass
> 
> Connecting... dsn='DBI:mysql:database=squid:database:3306', 
> username='brendan', password='...' at /usr/lib64/squid/log_db_daemon 
> line 399.


(Replied without looking and it did not go to the list, but to the 
personal email, so will repeat it for completeness...)


That DSN seems wrong, as far as I can find it should look like this:

DBI:mysql:database=$database;host=$hostname;port=$port

Something is not being 'fed' right to the script?

Regards,
Joe1962



More information about the squid-users mailing list