FreeBSD Port: databases/p5-DBD-MariaDB
Iasen Kostov
iasen.kostov at gmail.com
Mon Apr 5 02:44:39 UTC 2021
On 4.4.2021 г. 21:12, parv/freebsd wrote:
> On Sun, Apr 4, 2021 at 5:23 AM Iasen Kostov <iasen.kostov at gmail.com
> <mailto:iasen.kostov at gmail.com>> wrote:
>
> Hi Iasen,
>
> Please keep the mailing lists as recipients. I do not want to
> engage in unsolicited private conversation.
>
Sorry, my mistake.
>
> I basically needed it for 'mytop' from MariaDB, but it turned out
> mytop doesn't even work with p5-DBD-MariaDB.
>
>
> I have not interacted with MariaDB or mytop with either driver. So I
> cannot
> help with usage of DBD::MariaDB.
>
> So I had to install p5-DBD-mysql from ports with mariadb client
> installed beforehand. But then when I do 'pkg upgrade' of course a
> mess ensues. I had to remove the packcage from the database by
> hand which is ugly solution to say the least :)
>
>
> What does actually happen when "mess" happens?
pkg tries to uninstall mariadb(server/client) and then install
mysqlclient (and other packages) which will basically destroy the system
setup.
>
> So my actual question is how to make 'mytop' (and other similar
> things) from MariaDB work ?
> One way is to just have "p5-DBD-mysql-mysql" and
> "p5-DBD-mysql-mariadb" - but that looks a 'bit' ugly too.
>
>
> I have no idea what are you referring to with "p5-DBD-mysql-mysql"
> & "p5-DBD-mysql-mariadb".
>
The names of new packages which can be complied with dependency to mysql
and mariadb so the people wont have to resort to ports.
>
> Forcing people to use the ports
>
>
> You are more than free to install Perl software via cpan or cpanm.
> Who is forcing you?
>
Will that work on FreeBSD ? I never used it (never had success) in my
20+ years of using FreeBSD. I gave up probably 15 years ago.
>
> and only the ports is not feasible with small systems like
> RaspberyPI or older / low power systems and will lead to "but in
> Linux ..." so it is not a solution either.
> What would be the best and least ugliest way to make it work ?
>
> On 3.4.2021 г. 12:19, parv/freebsd wrote:
>> On Fri, Apr 2, 2021 at 9:58 PM Iasen Kostov wrote:
>>
>> I wonder why does the package depends on mysqlclient and
>> not on
>> mariadb ?
>>
>>
>> Yes, should have switched to depend on MariaDB.
>>
>> That package seems to be useless because it is the same as
>> databases/p5-DBD-mysql. Am I missing something ?
>>
>>
>> How much do you care for Unicode support & security bug fixes?
>>
>> See ...
>>
>> https://github.com/gooddata/DBD-MariaDB#readme
>> <https://github.com/gooddata/DBD-MariaDB#readme>
>
More information about the freebsd-perl
mailing list