summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-December/010073.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-December/010073.html')
-rw-r--r--zarb-ml/mageia-dev/2011-December/010073.html177
1 files changed, 177 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-December/010073.html b/zarb-ml/mageia-dev/2011-December/010073.html
new file mode 100644
index 000000000..daa24f0d1
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-December/010073.html
@@ -0,0 +1,177 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Replacing mysql with mariadb
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Replacing%20mysql%20with%20mariadb&In-Reply-To=%3C201112012122.44038.alien%40rmail.be%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="010072.html">
+ <LINK REL="Next" HREF="010078.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Replacing mysql with mariadb</H1>
+ <B>Maarten Vanraes</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Replacing%20mysql%20with%20mariadb&In-Reply-To=%3C201112012122.44038.alien%40rmail.be%3E"
+ TITLE="[Mageia-dev] Replacing mysql with mariadb">alien at rmail.be
+ </A><BR>
+ <I>Thu Dec 1 21:22:44 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="010072.html">[Mageia-dev] Replacing mysql with mariadb
+</A></li>
+ <LI>Next message: <A HREF="010078.html">[Mageia-dev] Replacing mysql with mariadb
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#10073">[ date ]</a>
+ <a href="thread.html#10073">[ thread ]</a>
+ <a href="subject.html#10073">[ subject ]</a>
+ <a href="author.html#10073">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Op donderdag 01 december 2011 21:12:57 schreef Colin Guthrie:
+&gt;<i> 'Twas brillig, and Maarten Vanraes at 01/12/11 19:53 did gyre and gimble:
+</I>&gt;<i> &gt; Op donderdag 01 december 2011 10:32:14 schreef Colin Guthrie:
+</I>&gt;<i> &gt;&gt; 'Twas brillig, and Maarten Vanraes at 01/12/11 08:05 did gyre and gimble:
+</I>&gt;<i> &gt;&gt;&gt; The way I see it, there are 2 possibilities:
+</I>&gt;<i> &gt;&gt;&gt; A. I remove the mysql-client, libmysqlclient, mysql-common and assorted
+</I>&gt;<i> &gt;&gt;&gt; packages from mysql, and provide them with mariadb, since
+</I>&gt;<i> &gt;&gt;&gt; libmysqlclient is drop-in replacable (same library ABI and such),
+</I>&gt;<i> &gt;&gt;&gt; there is not 100% requirement of rebuilding all libmysqlclient
+</I>&gt;<i> &gt;&gt;&gt; dependant programs.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; I think that rather than just provide them, it would make sense to use
+</I>&gt;<i> &gt;&gt; the update-alternatives system.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; It's going to be quite hard to rip out one package and drop in the other
+</I>&gt;<i> &gt;&gt; without some problems so it would be nice if we could install both at
+</I>&gt;<i> &gt;&gt; the same time and switch between them with a simple update-alternatives
+</I>&gt;<i> &gt;&gt; plan. This would perhaps facilitate easier testing too (i.e. easy to
+</I>&gt;<i> &gt;&gt; compare one to the other and switch about etc.)
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; In the initial stages you can make MariaDB have a higher priority in the
+</I>&gt;<i> &gt;&gt; update-alternatives setup to encourage more usage/testing coverage.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; While I appreciate it's extra effort for you and QA, I think this is the
+</I>&gt;<i> &gt;&gt; best route forward for mga2 at least.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; Col
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; i don't think the update-alternative is usable for the client parts at
+</I>&gt;<i> &gt; least
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; you will need to build programs with mariadb mysqlclient.so, so that
+</I>&gt;<i> &gt; doesn't work as alternatives, so that means the whole common and mariadb
+</I>&gt;<i> &gt; client is required too
+</I>&gt;<i>
+</I>&gt;<i> Hmm, I'm not sure I understand why it doesn't work? Why can't
+</I>&gt;<i> mysqlclient.so itself be a symlink via alternatives? Does the linker
+</I>&gt;<i> bork perhaps?
+</I>&gt;<i>
+</I>&gt;<i> If both packages provide the same virtual provides (&quot;mysql-devel&quot;) then
+</I>&gt;<i> it should be pretty simple to make the one provided by mariadb to be the
+</I>&gt;<i> preferred one (not 100% sure how that works, but I think it's possible).
+</I>
+yes, this is what i first said to Anssi too when i asked him about it. but the
+problem would be that other progs would be built against mysql and just drop-
+in replaced mariadb shared libs.
+
+Either it works perfectly, in which case we can just use libmysqlclient from
+mariadb, or it doesn't work, and we shouldn't use the libmysqlclient from
+mariadb anyway.
+
+then there is the my.cnf file, which contains extra [mariadb] for mariadb,
+which is ignored when using mysql, but is used by both client and server.
+
+and lastly upstream told me that while mysql clients works with mariadb
+server, it might not work (untested by upstream) to use mysql client on a host
+with mariadb server, due to the my.cnf .
+
+thus since mariadb mysqlclient works with both mysql and mariadb the best way
+is always to have mariadb clients even if you use mysql server. that is no
+problem.
+
+&gt;<i> &gt; so the only thing that can be alternativified would be the server, which
+</I>&gt;<i> &gt; is not really necessary to be alternivified anyway, since you can just
+</I>&gt;<i> &gt; install mariadb for that and remove mysql.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; you have to remember how mariadb works, it's like us, they take mysql
+</I>&gt;<i> &gt; from upstream, and put patches on it.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; the client doesn't have any major feature changes, it just has some
+</I>&gt;<i> &gt; improvements for if you'd use mariadb and some bugfixes. ( mariadb server
+</I>&gt;<i> &gt; with mysql client, works also perfectly, allthough NOT on the same
+</I>&gt;<i> &gt; server, due to my.cnf )
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; but however you look at it, client and common part of mysql will need to
+</I>&gt;<i> &gt; be obsoleted.
+</I>&gt;<i>
+</I>&gt;<i> Thinking about all the issues, it will be pretty complicated to fully
+</I>&gt;<i> alternativify it (all the conf files etc. would be a bit of a pain)
+</I>&gt;<i>
+</I>&gt;<i> Not sure how to handle it, but I don't think obsoleting the existing
+</I>&gt;<i> mysql packages is a great idea... I guess just another round of testing
+</I>&gt;<i> after it hits the main repo might be enough? Can you just make the
+</I>&gt;<i> package provide the same things as the mysql ones but with a higher
+</I>&gt;<i> release number? That's how the systemd-sysvinit package was forced on
+</I>&gt;<i> people over sysvinit... perhaps the same approach here would force some
+</I>&gt;<i> testing and to revert all we need to do is bump the mysql rel up two
+</I>&gt;<i> notches and it'll become the default again?
+</I>&gt;<i>
+</I>&gt;<i> Col
+</I>
+i don't really want to mess with versions, the versions which are there atm,
+are the versions, that they are exactly the same, is because they ARE the same
+and the most up2date. donno if bumping release would work.
+
+but then obsoleting is not a big thing, worst case, we drop mariadb and
+resubmit mysql and problem solved.
+
+and furthermore, if we do provide mariadb, we'll have to obsolete mysql
+eventually. why not complete test it when we have the chance? if we complete
+this testing before 9 dec, we can easily switch back without any real issues
+if needed.
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="010072.html">[Mageia-dev] Replacing mysql with mariadb
+</A></li>
+ <LI>Next message: <A HREF="010078.html">[Mageia-dev] Replacing mysql with mariadb
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#10073">[ date ]</a>
+ <a href="thread.html#10073">[ thread ]</a>
+ <a href="subject.html#10073">[ subject ]</a>
+ <a href="author.html#10073">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>