Date: Mon, 5 Apr 2021 05:44:37 +0300 From: Iasen Kostov <iasen.kostov@gmail.com> To: parv/freebsd <parv.0zero9+freebsd@gmail.com> Cc: freebsd-perl@freebsd.org Subject: Re: FreeBSD Port: databases/p5-DBD-MariaDB Message-ID: <2af104fb-de58-9e47-4b0c-84f61fbec5a8@gmail.com> In-Reply-To: <CABObuOqFVoOPJucGCtr75o-TZ%2BK_Lf5Mi5jEht9ghidVhVS2XA@mail.gmail.com> References: <61be7557-81de-d087-bc6a-79592b0da76d@gmail.com> <CABObuOrY4w8Nzy-DVi18H06%2BU-xyx5hxLA10qgd6sCxqkDDOjQ@mail.gmail.com> <f49b94dd-cedf-8b28-ab40-1ef645abe2f1@gmail.com> <CABObuOqFVoOPJucGCtr75o-TZ%2BK_Lf5Mi5jEht9ghidVhVS2XA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4.4.2021 г. 21:12, parv/freebsd wrote: > On Sun, Apr 4, 2021 at 5:23 AM Iasen Kostov <iasen.kostov@gmail.com > <mailto:iasen.kostov@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> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2af104fb-de58-9e47-4b0c-84f61fbec5a8>