[Pkg-dspam-misc] Bug#388140: libdspam7-drv-mysql: cleanup cron job doesn't work if database server is remote version=3.0.4

Matthijs Mohlmann matthijs at cacholong.nl
Tue Sep 26 06:48:25 UTC 2006


Jesus Climent wrote:
> On Mon, Sep 25, 2006 at 05:02:14PM -0400, Daniel Kahn Gillmor wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On September 24, jesus.climent at hispalinux.es said:
>>
>>>> +    	/usr/bin/mysql --host $MYSQL_HOST --user=$MYSQL_USER --password=$MYSQL_PASS $MYSQL_DB < $PURGE
>>> +1 for this patch.. Anyone against?
>> Looks good to me.
> 
> Applied to svn with "--host=" ("=" was missing).
> 
> A new package can be uploaded as soon as i pull my gpg key from the usb stick,
> which is somewhere here...
> 

Hi,

I've already checked the patch but I'm not completely sure about this.
You can say in the config file:
MySQLServer /var/lib/mysql.sock

And AFAIK the --host parameter doesn't take that. So the patch needs a
little modification so that it also works when connecting to a socket.

Regards,

Matthijs Mohlmann






More information about the Pkg-dspam-misc mailing list