|
|
| Think about Loose Coupling | |
| PerlMonks |
Should URI::mysql Switch to DBD::MariaDB?by Theory (Beadle) |
| on Jan 01, 2025 at 22:40 UTC ( [id://11163487]=perlquestion: print w/replies, xml ) | Need Help?? |
|
Theory has asked for the wisdom of the Perl Monks concerning the following question: The Sqitch project got a request to switch from DBD::mysql to DBD::MariaDB. DBD::mysql 5's requirement to build from the MySQL 8 client library provides the impetus for the request, but in poking around, I found a blogs.perl.org post highlighting some Unicode fixes in DBD::MariaDB, as well. Now, Sqitch likely doesn't have the Unicode issue (it always works with Perl Unicode strings), but it depends on URI::db to provide the DBI connection string. For MySQL URIs, the URI::mysql dbi_driver method returns mysql. Should it be changed to return MariaDB, instead? Is there general community consensus that DBD::MariaDB provides better compatibility with both MySQL and MariaDB these days? I'm also curious what the impact of this change would be for Sqitch. Presumably, if DBD::MariaDB can build against either the MariaDB or MySQL client library, it is the more flexible choice to continue supporting both databases going forward. Update: I've created a URI::db pull request for further discussion.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||