Comment 44 for bug 2031548

Revision history for this message
MichielBeijen (michiel-beijen) wrote :

Hi William,

libmysqlclient.so is the C client library used by DBD::mysql, the perl DBD client to connect MySQL.
This client library contains the deprecation message and this library and the message are not changed by the packagers. What they changed, is the Perl dbimp.c code where when connecting the MYSQL_OPT_RECONNECT is now no longer set when making the connection.

This is also why Francis in comment #35 who runs a C++ application still sees the error message, the MySQL C client library did not change, only the Perl use of said library. So the only way _he_ can get rid of the error is by patching his C++ code which connects to MySQL.

Indeed an alternative solution would have been to apply a patch to libmysqlclient, which is the software that introduced the warning. it would save the need to patch all software using said client.