I have the same setup as you, had to turn off notification in cron cause it sends every other minute.
Yes, also need to know what changes needs to be done?
After some system updates i got rid of the warning message. So the problem is solved.
But for my understanding: As i posted i use a MariaDB installation but i got a MySQL warning. So i guess that some client software /rt Perl stuff) uses a lib with this depricated feature. Because of the compatibility betwenn MySQl and MariaDB they are both affected or is it just a warning from the library and as MariaDB user i can ignore it?
The errors went away when I restarted my system. I had restarted my web server and various components after some system upgrades, but not the whole system. I’m not sure what specific package was causing the error pre-reboot, and then not causing error post-reboot, but the solution was to reboot.
Not sure if I should start my own thread for this, but same issue so I will comment here. RHEL 9.7 web server w/RT 5.0.3 here, database server is Ubuntu 22.04.5 LTS running MySQL 8.0.43.
My cron tasks “/opt/rt5/sbin/rt-fulltext-indexer --quiet” and “/opt/rt5/sbin/rt-clean-sessions --older 1D“ started throwing this out a few days ago, spamming me with emails. I am guessing a daily package update ran and updated the mysql package that contains libmysqlclient, which is throwing this error according to what I am reading in Jim’s links and other discussions I have seen.
I’ve been reading through the github link above and seeing some discouraging things. User “dveeden” mentions that DBD::mysql is not maintained and “for MySQL 8.1 support you really should not use DBD::mysql.” This is a Perl dependency installed by RT and so I’m guessing that BestPractical would need to be the one to make the decision to stop using this library. Otherwise, RT implementations are stuck using it even if it is not a maintained library and will be facing a wall when there is change in libmysqlclient that breaks the use of it.
So for now, I am muting the warnings by adding “2> /dev/null” to the end of the line for both crontab entries. However, I am being asked by my manager to look into the implications of this warning appearing that we now have to ignore. If anyone has any comments above, let me know… hopefully I have a proper understanding of the issue and can come back to this thread if one day it becomes a bigger problem.