in reply to DBD::mysql and MariaDB

Okay! The DBD::MariaDB worked. Here is the necessary line:
my $dsn = 'DBI:MariaDB:database=my_db;host=localhost'; my $dbh = DBI->connect($dsn, 'root', '');
The capitalization of "MariaDB" is required and "mysql" doesn't work.
After unzipping DBD-MariaDB-master.zip, I did a standard install from source:
$ cd DBD-MariaDB-master $ perl Makefile.PL $ make $ make test $ make install