On Wed, 22 Feb 2006, Steve Thomas wrote: > >> Feb 22 11:45:42 ronin spamd[3322]: bayes: unable to connect to database: > >> Can't connect to local MySQL server through socket > >> '/var/lib/mysql/mysql.sock' (13) > > > > Is that where mysql.sock is located? I don't know where the MySQL RPMs > > might > > stick it, but source installs stick it at /tmp/mysql.sock by default. > > Yep, that's where it's at. I've also tried specifying the port in the dsn > options in the cf file, i.e. > "user_scores_dsn DBI:mysql:spamassassin:localhost:3306" > > I'm most curious about the error number given - (13). In mysql speak, > that's a 'permission denied', but according to the logs, there's no > connection attempt even being made. I don't know if that number is coming > from spamd, the perl db api or mysql. I doubt it's coming from mysql, > since I'm not seeing any connection attempt whatsoever.
i googled a bit and found this related to fedora3 and SELinux: http://forums.mysql.com/read.php?11,20759,21482#msg-21482 worth a try :) regards, Matthias