in reply to MySQL/MariaDB DBD install problem

Did a little bit of investigation of documentation. Although DBD::mysql::INSTALL makes a claim that Strawberry Perl comes with DBD::mysql, DBD::MariaDB::INSTALL does not make a similar claim about DBD::MariaDB.

After doing some digging around on Strawberry Perl's releases page, it looks like version 5.36.1.1 does include DBD::mysql, but it was dropped starting with the next released version (5.36.3.1). Unless you really need be on version 5.40, you should be able to download Strawberry Perl 5.36.1.1 to interact with MySQL. (If you want to do a quick test without installing another version of Strawberry Perl, you can download the portable edition.) Otherwise, the install links above might be good starting points on trying to troubleshoot your install efforts for those two modules.

Replies are listed 'Best First'.
Re^2: MySQL/MariaDB DBD install problem
by Danny (Chaplain) on Sep 16, 2024 at 21:18 UTC
    For what it's worth cygwin currently comes with Perl 5.40.0, DBI 1.644, and DBD::mysql 4.052, and cpanm DBD::MariaDB works from a cygwin terminal.
    $ cpanm DBD::MariaDB --> Working on DBD::MariaDB Fetching http://www.cpan.org/authors/id/P/PA/PALI/DBD-MariaDB-1.23.tar +.gz ... OK Configuring DBD-MariaDB-1.23 ... OK Building and testing DBD-MariaDB-1.23 ... OK Successfully installed DBD-MariaDB-1.23 1 distribution installed