On Thu, Jun 03, 2004 at 10:50:34AM -0400, Chris Faust wrote:
> But I continue to get the error that SA can't connect to MySQL  through 
> socket '/the/wrong/path/here'.
> 
> My local.cf is simply
> 
> user_scores_dsn 
> DBI:mysql:database=spamassassin:host=localhost:mysql_socket=/db0/mysql/mysql.sock
> user_scores_sql_username spamassassin 
> user_scores_sql_password xxxx

perldoc DBD::mysql

Try using a ; (semi-colon) instead of a : (colon) between key/value
pairs.

For instance

user_scores_dsn 
DBI:mysq:database=spamassassin;host=localhost;mysql_sock=/db0/mysql/mysql.sock

Again, see perldoc DBD::mysql for more info.

Michael

Reply via email to