Re: SA 4.0.1 Bayes in SQL: MYSQL_OPT_RECONNECT is deprecated
John Wilcock <[email protected]>
| Newsgroups | gmane.mail.spam.spamassassin.general |
|---|---|
| Message-ID | <[email protected]> |
Le 10/01/2025 à 15:35, Bill Cole a écrit : > On 2025-01-10 at 08:49:04 UTC-0500 (Fri, 10 Jan 2025 14:49:04 +0100) > John Wilcock <[email protected]> > is rumored to have said: > >> Hi all, >> >> I'm using Spamassassin 4.0.1 on Gentoo and I've recently switched to >> using MySQL (actually Mariadb 10.6) for Bayes storage. >> >> I'm seeing "WARNING: MYSQL_OPT_RECONNECT is deprecated and will be >> removed in a future version" warnings. >> >> Any ideas? > > This can only be fixed in the DBD module. The problem is specifically > documented at https://github.com/perl5-dbi/DBD-mysql/issues/354 which > indicates that the issue was fixed in DBD-mysql v5.001 over a year > ago. There are also encoding and other fixes in recent versions, so > it is a good idea to update that module. > Thanks - upgrading DBD-mysql has fixed the issue. -- John