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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Should URI::mysql Switch to DBD::MariaDB?
by 1nickt (Canon) on Jan 02, 2025 at 11:19 UTC | |
by Theory (Beadle) on Jan 02, 2025 at 17:08 UTC | |
|
Re: Should URI::mysql Switch to DBD::MariaDB?
by Theory (Beadle) on Jan 09, 2025 at 02:59 UTC | |
|
Re: Should URI::mysql Switch to DBD::MariaDB?
by InfiniteSilence (Curate) on Jan 03, 2025 at 06:30 UTC | |
by Theory (Beadle) on Jan 03, 2025 at 16:50 UTC | |
|
Re: Should URI::mysql Switch to DBD::MariaDB?
by Theory (Beadle) on Jan 04, 2025 at 00:02 UTC | |
|
Re: Should URI::mysql Switch to DBD::MariaDB?
by Anonymous Monk on Jan 09, 2025 at 08:36 UTC |