# perl-DBD-MySQL-4.050-4 Breaking mysql\_old\_password Connections

**URL:** <https://forums.percona.com/t/perl-dbd-mysql-4-050-4-breaking-mysql-old-password-connections/13434>\
**Category:** Percona Toolkit\
**Created:** [December 10, 2021, 2:17am UTC](https://forums.percona.com/t/perl-dbd-mysql-4-050-4-breaking-mysql-old-password-connections/13434 "2021-12-10T02:17:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joemuller](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@joemuller](https://forums.percona.com/u/joemuller)\
**Post date:** [December 10, 2021, 2:17am UTC](https://forums.percona.com/t/perl-dbd-mysql-4-050-4-breaking-mysql-old-password-connections/13434/1 "2021-12-10T02:17:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Ivan\_Groenewold](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ivan_groenewold/32/6299_2.png) [@Ivan\_Groenewold](https://forums.percona.com/u/Ivan_Groenewold)\
**Post date:** [December 15, 2021, 1:42pm UTC](https://forums.percona.com/t/perl-dbd-mysql-4-050-4-breaking-mysql-old-password-connections/13434/2 "2021-12-15T13:42:55Z")

</div>

Hi Joe, the version you are using is out of support for a long time! As a workaround you can try downloading older versions of Percona Toolkit that might be linked to older perl packages but you are on your own there (there is no support). I strongly encourage you to upgrade to a newer version of the server instead.
