That's an over-simplistic and misleading answer. The above is a quote from the MariaDB website. But the OP is enquiring about MySQL. The MySQL website states:
27.9 MySQL Perl API
The Perl DBI module provides a generic interface for database access. You can write a DBI script that works with many different database engines without change. To use DBI with MySQL, install the following:
The DBI module.
The DBD::mysql module. This is the DataBase Driver (DBD) module for Perl.
See https://dev.mysql.com/doc/refman/8.0/en/apis-perl.html
Hope this helps!
The way forward always starts with a minimal test.
| [reply] |
DBD::mysql is *a* database driver for MySQL and MariaDB, but it has many maintenance issues and bugs and fundamentally broken Perl string handling. DBD::MariaDB is a fork that still supports both databases and fixes these issues, and should be used for all new projects. The MySQL website of course doesn't mention it because it's new.
| [reply] |
| [reply] |