Perl DBD MySQL for MySQL 8.0 and 8.4 LTS

Some years ago, I wrote an article on connecting to MySQL 8.0 using the default authentication plugin (caching_sha2_password) with Perl. I also provided Perl-DBD-MySQL packages for EL7.

Somebody recently left a comment as he was looking for a perl-DBD-MySQL driver compatible with the caching_sha2_password for Rocky Linux 8 (EL8 or OL8 compatible).

Therefore, I build two new packages supporting the latest perl-DBD-MySQL driver, version 5.005.

The difference is related to the version of libmysql they are linked to. for MySQL 8.0 and for MySQL 8.4 LTS:

MySQL 8.0

$ rpm -qf /usr/lib64/mysql/

$ ldd /usr/lib64/perl5/vendor_perl/auto/DBD/mysql/ | grep libmysql => /usr/lib64/mysql/

MySQL 8.4

$ rpm -qf /usr/lib64/mysql/

$ ldd /usr/lib64/perl5/vendor_perl/auto/DBD/mysql/ | grep libmysql => /usr/lib64/mysql/

Here are the two rpm packages:

Enjoy connecting to MySQL using Perl and thank you to Daniël van Eeden for maintaining the driver.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

As MySQL Community Manager, I am an employee of Oracle and the views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

You can find articles I wrote on Oracle’s blog.