[Koha-devel] WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.

David Cook dcook at prosentient.com.au
Fri Aug 18 01:24:34 CEST 2023


Letting folks know that Ubuntu have released a patched libdbd-mysql-perl
which claims to have fixed the issue. 

 

I haven't confirmed that it fixes it myself, but it should be a trivial
change, so I imagine that it does. 

 

David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

From: Koha-devel <koha-devel-bounces at lists.koha-community.org> On Behalf Of
David Cook
Sent: Wednesday, 16 August 2023 2:36 PM
To: koha-devel at lists.koha-community.org
Subject: [Koha-devel] WARNING: MYSQL_OPT_RECONNECT is deprecated and will be
removed in a future version.

 

Hi all,

 

If you're using Ubuntu, you may have noticed this message filling up your
logs.

 

It looks like Ubuntu recently released a version of libmysqlclient21 which
outputs this warning message if you try to set MYSQL_OPT_RECONNECT.

 

DBD::mysql sets it to false and therein lies the problem:
https://github.com/perl5-dbi/DBD-mysql/issues/354

 

At a glance, the only real short-term option seems to be to downgrade the
MySQL client, but keeping my eyes open.

 

David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20230818/ea267ed7/attachment.htm>


More information about the Koha-devel mailing list