We recently installed the Percona Toolkit on a server running CentOS 7.9 x86_64, which has MariaDB 5.5.68 installed. When running updates, a newer version of perl-DBD-MySQL was detected from the Percona tools-release repo. Upon installing the newer version, some of our perl scripts started giving the following error:
connect(…) failed: Authentication plugin ‘mysql_old_password’ cannot be loaded: /usr/lib64/mysql/plugin/mysql_old_password.so: cannot open shared object file: No such file or directory
As a workaround, we updated the database password using the newer IDENTIFIED BY syntax rather than PASSWORD, but I would like to have compatibility with the old-style passwords, as we do still interface with legacy databases. Do I need to install/replace a libmysql compatibility package, or is there a simpler fix?
Thank you.