summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-December/010072.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-December/010072.html')
-rw-r--r--zarb-ml/mageia-dev/2011-December/010072.html157
1 files changed, 157 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-December/010072.html b/zarb-ml/mageia-dev/2011-December/010072.html
new file mode 100644
index 000000000..f4a9412da
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-December/010072.html
@@ -0,0 +1,157 @@
+<!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=%3C4ED7DFC9.3000509%40colin.guthr.ie%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="010069.html">
+ <LINK REL="Next" HREF="010073.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Replacing mysql with mariadb</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Replacing%20mysql%20with%20mariadb&In-Reply-To=%3C4ED7DFC9.3000509%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] Replacing mysql with mariadb">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Thu Dec 1 21:12:57 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="010069.html">[Mageia-dev] Replacing mysql with mariadb
+</A></li>
+ <LI>Next message: <A HREF="010073.html">[Mageia-dev] Replacing mysql with mariadb
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#10072">[ date ]</a>
+ <a href="thread.html#10072">[ thread ]</a>
+ <a href="subject.html#10072">[ subject ]</a>
+ <a href="author.html#10072">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Maarten Vanraes at 01/12/11 19:53 did gyre and gimble:
+&gt;<i> Op donderdag 01 december 2011 10:32:14 schreef Colin Guthrie:
+</I>&gt;&gt;<i> 'Twas brillig, and Maarten Vanraes at 01/12/11 08:05 did gyre and gimble:
+</I>&gt;&gt;&gt;<i> The way I see it, there are 2 possibilities:
+</I>&gt;&gt;&gt;<i> A. I remove the mysql-client, libmysqlclient, mysql-common and assorted
+</I>&gt;&gt;&gt;<i> packages from mysql, and provide them with mariadb, since libmysqlclient
+</I>&gt;&gt;&gt;<i> is drop-in replacable (same library ABI and such), there is not 100%
+</I>&gt;&gt;&gt;<i> requirement of rebuilding all libmysqlclient dependant programs.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I think that rather than just provide them, it would make sense to use
+</I>&gt;&gt;<i> the update-alternatives system.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> It's going to be quite hard to rip out one package and drop in the other
+</I>&gt;&gt;<i> without some problems so it would be nice if we could install both at
+</I>&gt;&gt;<i> the same time and switch between them with a simple update-alternatives
+</I>&gt;&gt;<i> plan. This would perhaps facilitate easier testing too (i.e. easy to
+</I>&gt;&gt;<i> compare one to the other and switch about etc.)
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> In the initial stages you can make MariaDB have a higher priority in the
+</I>&gt;&gt;<i> update-alternatives setup to encourage more usage/testing coverage.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> While I appreciate it's extra effort for you and QA, I think this is the
+</I>&gt;&gt;<i> best route forward for mga2 at least.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Col
+</I>&gt;<i>
+</I>&gt;<i> i don't think the update-alternative is usable for the client parts at least
+</I>&gt;<i>
+</I>&gt;<i> you will need to build programs with mariadb mysqlclient.so, so that doesn't
+</I>&gt;<i> work as alternatives, so that means the whole common and mariadb client is
+</I>&gt;<i> required too
+</I>
+Hmm, I'm not sure I understand why it doesn't work? Why can't
+mysqlclient.so itself be a symlink via alternatives? Does the linker
+bork perhaps?
+
+If both packages provide the same virtual provides (&quot;mysql-devel&quot;) then
+it should be pretty simple to make the one provided by mariadb to be the
+preferred one (not 100% sure how that works, but I think it's possible).
+
+&gt;<i> so the only thing that can be alternativified would be the server, which is not
+</I>&gt;<i> really necessary to be alternivified anyway, since you can just install mariadb
+</I>&gt;<i> for that and remove mysql.
+</I>&gt;<i>
+</I>&gt;<i> you have to remember how mariadb works, it's like us, they take mysql from
+</I>&gt;<i> upstream, and put patches on it.
+</I>&gt;<i>
+</I>&gt;<i> the client doesn't have any major feature changes, it just has some
+</I>&gt;<i> improvements for if you'd use mariadb and some bugfixes. ( mariadb server with
+</I>&gt;<i> mysql client, works also perfectly, allthough NOT on the same server, due to
+</I>&gt;<i> my.cnf )
+</I>&gt;<i>
+</I>&gt;<i> but however you look at it, client and common part of mysql will need to be
+</I>&gt;<i> obsoleted.
+</I>
+Thinking about all the issues, it will be pretty complicated to fully
+alternativify it (all the conf files etc. would be a bit of a pain)
+
+Not sure how to handle it, but I don't think obsoleting the existing
+mysql packages is a great idea... I guess just another round of testing
+after it hits the main repo might be enough? Can you just make the
+package provide the same things as the mysql ones but with a higher
+release number? That's how the systemd-sysvinit package was forced on
+people over sysvinit... perhaps the same approach here would force some
+testing and to revert all we need to do is bump the mysql rel up two
+notches and it'll become the default again?
+
+Col
+
+
+--
+
+Colin Guthrie
+colin(at)mageia.org
+<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
+
+Day Job:
+ Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
+Open Source:
+ Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
+ PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
+ Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="010069.html">[Mageia-dev] Replacing mysql with mariadb
+</A></li>
+ <LI>Next message: <A HREF="010073.html">[Mageia-dev] Replacing mysql with mariadb
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#10072">[ date ]</a>
+ <a href="thread.html#10072">[ thread ]</a>
+ <a href="subject.html#10072">[ subject ]</a>
+ <a href="author.html#10072">[ 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>