Date: Sun, 4 Apr 2021 17:55:25 -1000 From: "parv/freebsd" <parv.0zero9+freebsd@gmail.com> To: Iasen Kostov <iasen.kostov@gmail.com> Cc: freebsd-perl@freebsd.org Subject: Re: FreeBSD Port: databases/p5-DBD-MariaDB Message-ID: <CABObuOrXAsR07_BBczmOQ4YKP46r20f4NgBCoZcs3JeieA_pMQ@mail.gmail.com> In-Reply-To: <2af104fb-de58-9e47-4b0c-84f61fbec5a8@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> <2af104fb-de58-9e47-4b0c-84f61fbec5a8@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 4, 2021 at 4:44 PM Iasen Kostov wrote: Hi Iasen, On 4.4.2021 =D0=B3. 21:12, parv/freebsd wrote: > > On Sun, Apr 4, 2021 at 5:23 AM Iasen Kostov wrote: > > ... > 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 solut= ion >> to say the least :) >> > > What does actually happen when "mess" happens? > > pkg tries to uninstall mariadb(server/client) and then install mysqlclien= t > (and other packages) which will basically destroy the system setup. > Ok. In that case you could lock a package & various pkg commands would not touch it... % pkg lock <MariaDB package names> ... note that that will also affect the dependent packages. To upgrade or delete later, you can run ... % pkg unlock <MariaDB package names> ... and upgrade or delete as you usually do. 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. > Thank you for the explanation. - parv ... > > 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 =D0=B3. 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? >> >> ... > https://github.com/gooddata/DBD-MariaDB#readme >> >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABObuOrXAsR07_BBczmOQ4YKP46r20f4NgBCoZcs3JeieA_pMQ>