If you just migrated to MySQL 8.0, you may have seen that the default authentication plugin has been changed to a more secure one: caching_sha2_password and I’ve already written some articles about it.
Now let’s discover how Perl users can deal with MySQL 8.0.
The driver to use MySQL with Perl is perl-DBD-MySQL. MySQL 8.0 is supported but the new authentication plugin might not be. This depends of the mysql library linked during compilation of the module.
problem connecting to MySQL 8.0
The error you may encounter is the following:
DBI connect('host=localhost','fred',...) failed: Authentication plugin[Read more]
'caching_sha2_password' cannot be loaded: …