<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PlanetMysql.ru - информация о СУБД MySQL &#187; MySQL Sandbox</title>
	<atom:link href="http://planetmysql.ru/category/mysql-sandbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://planetmysql.ru</link>
	<description>Блог о самой популярной СУБД MySQL</description>
	<lastBuildDate>Thu, 24 May 2012 22:24:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>MySQL Creatively in a Sandbox by Giuseppe Maxia</title>
		<link>http://www.bytebot.net/blog/archives/2012/02/05/mysql-creatively-in-a-sandbox-by-giuseppe-maxia?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-creatively-in-a-sandbox-by-giuseppe-maxia</link>
		<comments>http://www.bytebot.net/blog/archives/2012/02/05/mysql-creatively-in-a-sandbox-by-giuseppe-maxia#comments</comments>
		<pubDate>Sun, 05 Feb 2012 13:57:47 +0000</pubDate>
		<dc:creator>Colin Charles</dc:creator>
				<category><![CDATA[fosdem]]></category>
		<category><![CDATA[giuseppe maxia]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MySQL Sandbox]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/?p=2292</guid>
		<description><![CDATA[Giuseppe Maxia of Continuent and long time creator of MySQL Sandbox.
Only works on Unix-like servers. Works with MySQL, Percona &#38; MariaDB servers. MySQL server has the data directory, the port and the socket &#8211; you can&#8217;t share these.
To use it: make_sandbox foo.tar.gz. Then just do ./use.
$SANDBOX_HOME is ~/sandboxes. You can also create ~/opt/mysql/ and if you have MySQL 5.0.91 binary in that directory, you can just do &#8220;sb 5.1.91&#8243;.
Sandbox has features to start replication systems as well. You can have varying master/slave setups with varying versions as well (good idea to test from MySQL -&#62; MariaDB master-&#62;slave for migration).
You can now also play with tungsten-sandbox, which is a great way to start playing with Tungsten Replicator (see documentation and tungsten-toolbox). There is apparently also a MySQL Cluster sandbox tool that someone is working on.
 


Related posts:Building simple &#038; complex replication clusters with Tungsten Replicator by Giuseppe Maxia
MySQL HA reloaded by Ivan Zoratti
MySQL synchronous replication in practice with Galera by Oli Sennhauser]]></description>
			<content:encoded><![CDATA[<p><a href="http://datacharmer.blogspot.com/">Giuseppe Maxia</a> of <a href="http://continuent.com/">Continuent</a> and long time creator of <a href="http://mysqlsandbox.net/">MySQL Sandbox</a>.</p>
<p>Only works on Unix-like servers. Works with MySQL, Percona &amp; MariaDB servers. MySQL server has the data directory, the port and the socket &#8211; you can&#8217;t share these.</p>
<p>To use it: make_sandbox foo.tar.gz. Then just do ./use.</p>
<p>$SANDBOX_HOME is ~/sandboxes. You can also create ~/opt/mysql/ and if you have MySQL 5.0.91 binary in that directory, you can just do &#8220;sb 5.1.91&#8243;.</p>
<p>Sandbox has features to start replication systems as well. You can have varying master/slave setups with varying versions as well (good idea to test from MySQL -&gt; MariaDB master-&gt;slave for migration).</p>
<p>You can now also play with tungsten-sandbox, which is a great way to start playing with Tungsten Replicator (see <a href="http://code.google.com/p/tungsten-toolbox/wiki/TungstenSandbox">documentation</a> and <a href="http://code.google.com/p/tungsten-toolbox/">tungsten-toolbox</a>). There is apparently also a MySQL Cluster sandbox tool that someone is working on.</p>
<p> </p>


<p>Related posts:<ol><li><a href="http://www.bytebot.net/blog/archives/2012/02/05/building-simple-complex-replication-clusters-with-tungsten-replicator-by-giuseppe-maxia" rel="bookmark" title="Permanent Link: Building simple &amp; complex replication clusters with Tungsten Replicator by Giuseppe Maxia">Building simple &#038; complex replication clusters with Tungsten Replicator by Giuseppe Maxia</a></li>
<li><a href="http://www.bytebot.net/blog/archives/2012/02/05/mysql-ha-reloaded-by-ivan-zoratti" rel="bookmark" title="Permanent Link: MySQL HA reloaded by Ivan Zoratti">MySQL HA reloaded by Ivan Zoratti</a></li>
<li><a href="http://www.bytebot.net/blog/archives/2012/02/05/mysql-synchronous-replication-in-practice-with-galera-by-oli-sennhauser" rel="bookmark" title="Permanent Link: MySQL synchronous replication in practice with Galera by Oli Sennhauser">MySQL synchronous replication in practice with Galera by Oli Sennhauser</a></li>
</ol></p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=31905&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=31905&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2012/02/05/mysql-creatively-in-a-sandbox-by-giuseppe-maxia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Creatively in a Sandbox by Giuseppe Maxia</title>
		<link>http://www.bytebot.net/blog/archives/2012/02/05/mysql-creatively-in-a-sandbox-by-giuseppe-maxia?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-creatively-in-a-sandbox-by-giuseppe-maxia</link>
		<comments>http://www.bytebot.net/blog/archives/2012/02/05/mysql-creatively-in-a-sandbox-by-giuseppe-maxia#comments</comments>
		<pubDate>Sun, 05 Feb 2012 13:57:47 +0000</pubDate>
		<dc:creator>Colin Charles</dc:creator>
				<category><![CDATA[fosdem]]></category>
		<category><![CDATA[giuseppe maxia]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MySQL Sandbox]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/?p=2292</guid>
		<description><![CDATA[Giuseppe Maxia of Continuent and long time creator of MySQL Sandbox.
Only works on Unix-like servers. Works with MySQL, Percona &#38; MariaDB servers. MySQL server has the data directory, the port and the socket &#8211; you can&#8217;t share these.
To use it: make_sandbox foo.tar.gz. Then just do ./use.
$SANDBOX_HOME is ~/sandboxes. You can also create ~/opt/mysql/ and if you have MySQL 5.0.91 binary in that directory, you can just do &#8220;sb 5.1.91&#8243;.
Sandbox has features to start replication systems as well. You can have varying master/slave setups with varying versions as well (good idea to test from MySQL -&#62; MariaDB master-&#62;slave for migration).
You can now also play with tungsten-sandbox, which is a great way to start playing with Tungsten Replicator (see documentation and tungsten-toolbox). There is apparently also a MySQL Cluster sandbox tool that someone is working on.
 


Related posts:Building simple &#038; complex replication clusters with Tungsten Replicator by Giuseppe Maxia
MySQL HA reloaded by Ivan Zoratti
MySQL synchronous replication in practice with Galera by Oli Sennhauser]]></description>
			<content:encoded><![CDATA[<p><a href="http://datacharmer.blogspot.com/">Giuseppe Maxia</a> of <a href="http://continuent.com/">Continuent</a> and long time creator of <a href="http://mysqlsandbox.net/">MySQL Sandbox</a>.</p>
<p>Only works on Unix-like servers. Works with MySQL, Percona &amp; MariaDB servers. MySQL server has the data directory, the port and the socket &#8211; you can&#8217;t share these.</p>
<p>To use it: make_sandbox foo.tar.gz. Then just do ./use.</p>
<p>$SANDBOX_HOME is ~/sandboxes. You can also create ~/opt/mysql/ and if you have MySQL 5.0.91 binary in that directory, you can just do &#8220;sb 5.1.91&#8243;.</p>
<p>Sandbox has features to start replication systems as well. You can have varying master/slave setups with varying versions as well (good idea to test from MySQL -&gt; MariaDB master-&gt;slave for migration).</p>
<p>You can now also play with tungsten-sandbox, which is a great way to start playing with Tungsten Replicator (see <a href="http://code.google.com/p/tungsten-toolbox/wiki/TungstenSandbox">documentation</a> and <a href="http://code.google.com/p/tungsten-toolbox/">tungsten-toolbox</a>). There is apparently also a MySQL Cluster sandbox tool that someone is working on.</p>
<p> </p>


<p>Related posts:<ol><li><a href="http://www.bytebot.net/blog/archives/2012/02/05/building-simple-complex-replication-clusters-with-tungsten-replicator-by-giuseppe-maxia" rel="bookmark" title="Permanent Link: Building simple &amp; complex replication clusters with Tungsten Replicator by Giuseppe Maxia">Building simple &#038; complex replication clusters with Tungsten Replicator by Giuseppe Maxia</a></li>
<li><a href="http://www.bytebot.net/blog/archives/2012/02/05/mysql-ha-reloaded-by-ivan-zoratti" rel="bookmark" title="Permanent Link: MySQL HA reloaded by Ivan Zoratti">MySQL HA reloaded by Ivan Zoratti</a></li>
<li><a href="http://www.bytebot.net/blog/archives/2012/02/05/mysql-synchronous-replication-in-practice-with-galera-by-oli-sennhauser" rel="bookmark" title="Permanent Link: MySQL synchronous replication in practice with Galera by Oli Sennhauser">MySQL synchronous replication in practice with Galera by Oli Sennhauser</a></li>
</ol></p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=31905&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=31905&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2012/02/05/mysql-creatively-in-a-sandbox-by-giuseppe-maxia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MariaDB and the MySQL Sandbox</title>
		<link>http://tokutek.com/2010/07/mariadb-and-the-mysql-sandbox/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mariadb-and-the-mysql-sandbox</link>
		<comments>http://tokutek.com/2010/07/mariadb-and-the-mysql-sandbox/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 19:49:28 +0000</pubDate>
		<dc:creator>Tokuview Blog</dc:creator>
				<category><![CDATA[MariaDB]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MySQL Sandbox]]></category>
		<category><![CDATA[TokuView]]></category>

		<guid isPermaLink="false">http://tokutek.com/?p=1587</guid>
		<description><![CDATA[Tokutek tests its TokuDB Fractal Tree storage engine with multiple MySQL distributions.  We make extensive use of the MySQL Sandbox in our test automation.  We tweaked the regular expressions that match binary tarball names in the MySQL Sandbox so that MariaDB releases can be easily loaded by the MySQL Sandbox. These changes can be found in launchpad lp:~prohaska7/mysql-sandbox/mariadb.]]></description>
			<content:encoded><![CDATA[<p>Tokutek tests its TokuDB Fractal Tree storage engine with multiple MySQL distributions.  We make extensive use of the MySQL Sandbox in our test automation.  We tweaked the regular expressions that match binary tarball names in the MySQL Sandbox so that MariaDB releases can be easily loaded by the MySQL Sandbox. These changes can be found in launchpad lp:~prohaska7/mysql-sandbox/mariadb.</p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25400&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25400&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/07/26/mariadb-and-the-mysql-sandbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recently in MariaDB #1</title>
		<link>http://feedproxy.google.com/~r/ColinCharles/~3/Tfa3j5teX5M/recently-in-mariadb-1?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=recently-in-mariadb-1</link>
		<comments>http://feedproxy.google.com/~r/ColinCharles/~3/Tfa3j5teX5M/recently-in-mariadb-1#comments</comments>
		<pubDate>Tue, 23 Feb 2010 05:26:42 +0000</pubDate>
		<dc:creator>Colin Charles</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[distributions shipping MariaDB]]></category>
		<category><![CDATA[MariaDB]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MySQL Sandbox]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[OpenSUSE build service]]></category>
		<category><![CDATA[RecentlyInMariaDB]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/?p=1689</guid>
		<description><![CDATA[ The aims of this kind of blog post is simple &#8211; I want to help keep the masses informed as to what&#8217;s happening with MariaDB, as a whole. There is a community growing, and MariaDB is a community project, not necessarily a Monty Program Ab baby (and we&#8217;re clear on this distinction: think of it like Canonical/Ubuntu). So, think of it as such that I&#8217;m sharing the good news, and summarising what&#8217;s been happening, to save you time.
MariaDB added to the Debian/Ubuntu wishlists
One of MariaDB&#8217;s goals is that it should be easily available for download. While we provide binaries and source at the MariaDB download page, we would love to see the binaries sitting in Linux distributions. So it is definitely good to see that it is on the Debian wishlist. It is also worth noting that Ubuntu has got it as a wishlist item as well.
MariaDB via the OpenSUSE build service
A community member, Michal Hrušecký, has decided that there will be tracking of MariaDB, and since it comes out of the OpenSUSE build service, you can find them in the unstable repository, for CentOS/RHEL 5, Fedora 11 and 12, Mandriva 2010, and OpenSUSE 11.1, 11.2, and the factory builds. All these are of course of the latest release available, which is MariaDB 5.1.42.
MariaDB for Solaris 10 and Debian on SPARC
Mark has very kindly decided to build binaries for Solaris 10 on Sparc as well as Debian GNU/Linux on Sparc. He even managed to write up a quick &#38; dirty install guide, which should suffice for all intents and purposes. Note that these are still 5.1.41-RC releases, and you can expect to get updates soon for the released 5.1.42.
Using MariaDB with the MySQL Sandbox
The MySQL Sandbox is a great way to play with new releases of MySQL or MariaDB. Gerry Narvaja has got some tricks up his sleeve, to allow you to get going using MariaDB with the MySQL Sandbox.
MariaDB resources
A few resources if you&#8217;re new to the community:

maria-discuss mailing list (and its archives)
maria-developers mailing list (and its archives)
#maria IRC logs. Don&#8217;t hesitate to join us on irc.freenode.net on #maria

Hope you&#8217;ve found this useful, and the aim is to have this bi-monthly, more frequent if there is a need for it. I might even record it as a short podcast, so you can take it on the go. If you have thoughts on this, don&#8217;t hesitate to contact me, or drop me an email at colin[AT]askmonty.org. 


Related posts:MariaDB 5.1.42 released!
MySQL with yaSSL vulnerability
Getting emo over binaries?



   
]]></description>
			<content:encoded><![CDATA[<p><a href="http://askmonty.org/wiki/index.php/Main_Page"><img src="http://www.bytebot.net/blog/wp-content/uploads/2010/02/MariaDB-seal.png" alt="MariaDB Seal" hspace="5" vspace="5" border="0" align="right" /></a> The aims of this kind of blog post is simple &#8211; I want to help keep the masses informed as to what&#8217;s happening with MariaDB, as a whole. There is a community growing, and MariaDB is a community project, not necessarily a Monty Program Ab baby (and we&#8217;re clear on this distinction: think of it like Canonical/Ubuntu). So, think of it as such that I&#8217;m sharing the good news, and summarising what&#8217;s been happening, to save you time.</p>
<p><b>MariaDB added to the Debian/Ubuntu wishlists</b><br />
One of MariaDB&#8217;s goals is that it should be easily available for download. While we provide binaries and source at <a href="http://askmonty.org/wiki/index.php/MariaDB%3ADownload">the MariaDB download page</a>, we would love to see the binaries sitting in Linux distributions. So it is definitely good to see that it is on <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565308">the Debian wishlist</a>. It is also worth noting that Ubuntu has got it <a href="https://bugs.launchpad.net/debian/+bug/519478">as a wishlist item</a> as well.</p>
<p><b>MariaDB via the OpenSUSE build service</b><br />
A community member, Michal Hrušecký, has decided that there will be <a href="http://michal.hrusecky.net/index.php/blog/show/Updates-in-unstable-repo-(not-only)-for-openSUSE.html">tracking of MariaDB</a>, and since it comes out of the OpenSUSE build service, you can find them in the <a href="http://download.opensuse.org/repositories/server%3A/database%3A/UNSTABLE/">unstable repository</a>, for CentOS/RHEL 5, Fedora 11 and 12, Mandriva 2010, and OpenSUSE 11.1, 11.2, and the factory builds. All these are of course of the latest release available, which is <a href="http://askmonty.org/wiki/index.php/MariaDB%3ADownload">MariaDB 5.1.42</a>.</p>
<p><b>MariaDB for Solaris 10 and Debian on SPARC</b><br />
<a href="http://dooratthe.endoftheinternet.org/thoughts/">Mark</a> has very kindly decided to build binaries for <a href="http://dooratthe.endoftheinternet.org/thoughts/?category=Solaris&amp;post=MariaDB_Binaries_For_Solaris_Sparc">Solaris 10 on Sparc</a> as well as <a href="http://dooratthe.endoftheinternet.org/thoughts/?category=Linux&amp;post=MariaDB_Sparc_Linux">Debian GNU/Linux on Sparc</a>. He even managed to write up a <a href="http://dooratthe.endoftheinternet.org/thoughts/Solaris/MariaDB_Quick_and_Dirty_Install.text">quick &#038; dirty install guide</a>, which should suffice for all intents and purposes. Note that these are still 5.1.41-RC releases, and you can expect to get updates soon for the released 5.1.42.</p>
<p><b>Using MariaDB with the MySQL Sandbox</b><br />
The <a href="http://www.mysqlsandbox.net/">MySQL Sandbox</a> is a great way to play with new releases of MySQL or MariaDB. Gerry Narvaja has got some tricks up his sleeve, to allow you to get going using <a href="http://mmatemate.blogspot.com/2010/02/using-mariadb-with-mysql-sandbox.html">MariaDB with the MySQL Sandbox</a>.</p>
<p><b>MariaDB resources</b><br />
A few resources if you&#8217;re new to the community:</p>
<ul>
<li><a href="https://launchpad.net/~maria-discuss">maria-discuss</a> mailing list (and its <a href="https://lists.launchpad.net/maria-discuss/">archives</a>)</li>
<li><a href="https://launchpad.net/~maria-developers">maria-developers</a> mailing list (and its <a href="https://lists.launchpad.net/maria-developers/">archives</a>)</li>
<li><a href="http://marialog.archivist.info/">#maria IRC logs</a>. Don&#8217;t hesitate to join us on irc.freenode.net on #maria</li>
</ul>
<p>Hope you&#8217;ve found this useful, and the aim is to have this bi-monthly, more frequent if there is a need for it. I might even record it as a short podcast, so you can take it on the go. If you have thoughts on this, don&#8217;t hesitate to contact me, or drop me an email at colin[AT]askmonty.org. </p>


<p>Related posts:<ol><li><a href="http://www.bytebot.net/blog/archives/2010/02/05/mariadb-5-1-42-released" rel="bookmark" title="Permanent Link: MariaDB 5.1.42 released!">MariaDB 5.1.42 released!</a></li>
<li><a href="http://www.bytebot.net/blog/archives/2010/01/19/mysql-with-yassl-vulnerability" rel="bookmark" title="Permanent Link: MySQL with yaSSL vulnerability">MySQL with yaSSL vulnerability</a></li>
<li><a href="http://www.bytebot.net/blog/archives/2007/01/19/getting-emo-over-binaries" rel="bookmark" title="Permanent Link: Getting emo over binaries?">Getting emo over binaries?</a></li>
</ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/HyY2Jhg2xABxqDIvEx8Tvdd1nOk/0/da"><img src="http://feedads.g.doubleclick.net/~a/HyY2Jhg2xABxqDIvEx8Tvdd1nOk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/HyY2Jhg2xABxqDIvEx8Tvdd1nOk/1/da"><img src="http://feedads.g.doubleclick.net/~a/HyY2Jhg2xABxqDIvEx8Tvdd1nOk/1/di" border="0" ismap="true"></img></a></p><div>
<a href="http://feeds.feedburner.com/~ff/ColinCharles?a=Tfa3j5teX5M:_9yGr3_QSKM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ColinCharles?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ColinCharles?a=Tfa3j5teX5M:_9yGr3_QSKM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ColinCharles?i=Tfa3j5teX5M:_9yGr3_QSKM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ColinCharles?a=Tfa3j5teX5M:_9yGr3_QSKM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ColinCharles?i=Tfa3j5teX5M:_9yGr3_QSKM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ColinCharles?a=Tfa3j5teX5M:_9yGr3_QSKM:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/ColinCharles?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ColinCharles/~4/Tfa3j5teX5M" height="1" width="1" /><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=23622&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=23622&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/02/23/recently-in-mariadb-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using MariaDB with MySQL Sandbox</title>
		<link>http://mmatemate.blogspot.com/2010/02/using-mariadb-with-mysql-sandbox.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-mariadb-with-mysql-sandbox</link>
		<comments>http://mmatemate.blogspot.com/2010/02/using-mariadb-with-mysql-sandbox.html#comments</comments>
		<pubDate>Wed, 03 Feb 2010 22:14:00 +0000</pubDate>
		<dc:creator>Gerardo Narvaja</dc:creator>
				<category><![CDATA[MariaDB]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MySQL Sandbox]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[A few days back MariaDB announced their first GA release (see Released: MariaDB 5.1.42), so it is time to start testing it and there is not better way to test any MySQL version in a control environment other than MySQL Sandbox. However Sandbox relies on the fact that the tarball and tarball target directory are prefixed with mysql, which is not true with MariaDB. So here are the 2 tricks I had to use to make it work out of the box.These steps are explained to create a single sandbox, the tips can be extrapolated to any other configuration. Also, I am trying to avoid renaming any files and/or directories as to leave the packages as close to the original as possible.Step 1: Use A Symlink For The TarballThe make_sandbox script will then think it's manipulating a MySQL tarball. Assuming that the default directory is where you have the tarball:ln -sv mariadb-5.1.42-Linux-x86_64.tar.gz mysql-5.1.42-Linux-x86_64.tar.gzmake_sandbox /home/gnarvaja/Downloads/mysql-5.1.42-Linux-x86_64.tar.gz --sandbox_directory=maria_5.1.42Make the adjustments needed to your own platform and version.The make_sanbox run is going to fail since it expects a subdirectory named ./mysql-5.1.42-Linux-x86_64 which doesn't exist since we used a MariaDB tarball.Step 2: Use A Symlink For The MariaDB Binaries DirectoryFor the same reason as above, now create a symlink for the directory to where the tarball was extracted and re-run make_sandbox:ln -sv mariadb-5.1.42-Linux-x86_64 mysql-5.1.42-Linux-x86_64make_sandbox /home/gnarvaja/Downloads/mysql-5.1.42-Linux-x86_64.tar.gz --sandbox_directory=maria_5.1.42Remember to always include the --sandbox_directory option to avoid name conflicts in case you want to compare MariaDB with the corresponding MySQL release.This time the installation will succeed and you'll be ready to start your testing.ConclusionI tried to install using the original tarball name using different options and the process failed with different error messages. I looked into the make_sandbox code and I saw some dependencies that would've taken me some time to figure out and fix. This method can be considered a hack, but it gets you up and running in no time. Giusseppe, if you happen to see this blog, I'll be glad to test a patch when you have it.]]></description>
			<content:encoded><![CDATA[A few days back <b>MariaDB</b> announced their first GA release (see <a href="http://esslingen.homeunix.net/~hakan/blog/2010/02/02/released-mariadb-5-1-42/" rel="bookmark">Released: MariaDB 5.1.42</a>), so it is time to start testing it and there is not better way to test any MySQL version in a control environment other than <a href="http://www.mysqlsandbox.net/" title="MySQL Sandbox">MySQL Sandbox</a>. However Sandbox relies on the fact that the tarball and tarball target directory are prefixed with <i>mysql</i>, which is not true with <b>MariaDB</b>. So here are the 2 tricks I had to use to make it work out of the box.<br /><br />These steps are explained to create a single sandbox, the tips can be extrapolated to any other configuration. Also, I am trying to avoid renaming any files and/or directories as to leave the packages as close to the original as possible.<br /><h2>Step 1: Use A Symlink For The Tarball</h2>The <b>make_sandbox </b>script will then think it's manipulating a MySQL tarball. Assuming that the default directory is where you have the tarball:<br /><blockquote>ln -sv mariadb-5.1.42-Linux-x86_64.tar.gz mysql-5.1.42-Linux-x86_64.tar.gz<br />make_sandbox /home/gnarvaja/Downloads/mysql-5.1.42-Linux-x86_64.tar.gz --sandbox_directory=maria_5.1.42</blockquote><br />Make the adjustments needed to your own platform and version.<br /><br />The <b>make_sanbox </b>run is going to fail since it expects a subdirectory named <i>./mysql-5.1.42-Linux-x86_64 </i>which doesn't exist since we used a MariaDB tarball.<br /><h2>Step 2: Use A Symlink For The MariaDB Binaries Directory</h2>For the same reason as above, now create a symlink for the directory to where the tarball was extracted and re-run <b>make_sandbox</b>:<br /><br /><blockquote>ln -sv mariadb-5.1.42-Linux-x86_64 mysql-5.1.42-Linux-x86_64<br />make_sandbox /home/gnarvaja/Downloads/mysql-5.1.42-Linux-x86_64.tar.gz --sandbox_directory=maria_5.1.42</blockquote><br />Remember to always include the <b>--sandbox_directory</b> option to avoid name conflicts in case you want to compare MariaDB with the corresponding MySQL release.<br /><br />This time the installation will succeed and you'll be ready to start your testing.<br /><h2>Conclusion</h2>I tried to install using the original tarball name using different options and the process failed with different error messages. I looked into the <b>make_sandbox </b>code and I saw some dependencies that would've taken me some time to figure out and fix. This method can be considered a hack, but it gets you up and running in no time. <br /><br />Giusseppe, if you happen to see this blog, I'll be glad to test a patch when you have it.<div><img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/8007802080401497299-2775747621681520251?l=mmatemate.blogspot.com" alt="" /></div><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=23330&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=23330&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/02/04/using-mariadb-with-mysql-sandbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing MySQL with MySQL Sandbox?</title>
		<link>http://blog.wl0.org/2010/01/managing-mysql-with-mysql-sandbox/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=managing-mysql-with-mysql-sandbox</link>
		<comments>http://blog.wl0.org/2010/01/managing-mysql-with-mysql-sandbox/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 15:51:09 +0000</pubDate>
		<dc:creator>Simon Mudd</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[manage]]></category>
		<category><![CDATA[multiple instances]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MySQL Sandbox]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://blog.wl0.org/2010/01/managing-mysql-with-mysql-sandbox/</guid>
		<description><![CDATA[Normally I like to use the OS&#8217;s package manager to manage the software on my system. This ensures that things are done consistently.  When managing MySQL I&#8217;d also like to manage all my instances the same way.  That makes life easier for me but also for my fellow DBAs and sysadmin colleagues.
I use CentOS and the rpm packages it provides and these work quite well. However, the MySQL rpms do not allow me to manage single and multiple instances alike and while mysqld runs as the mysql user the instance management needs to be done as root (stopping, starting instances, or default access). If you want to run multiple instances you can also use mysqld_multi, but that&#8217;s not the default setup.
So this is not ideal. While this may not be much of an issue if you manage a single server, if you manage tens or hundreds things changes somewhat and you REALLY want to manage all instances consistently.
So I&#8217;ve been thinking about finding an alternative which would suit me better. What do I need?

The same treatment of a single instance or multiples on one box.
Management as much as possible from a non-root user (mysql?)
Separation of instances into separate &#8220;areas&#8221;, along the lines of Oracle&#8217;s Optimal Flexible Architecture.
Automatic startup on server boot, and shutdown of &#8220;SELECTED&#8221; instances.
Ability to support different versions of mysql running at the same time.
Straight forward mechanism to upgrade a server or switch the version of MySQL that is used to manage a specific instance..

I was thinking of writing my own scripts but one solution which looks potentially close enough to my ideal solution would be to use Giuseppe Maxia&#8217;s MySQL Sandbox. I think this project was born with a completely different goal (enable you to quickly get a different mysql version up and running for testing), but it actually seems to solve most of the things I want for managing production instances.
If you&#8217;ve not used it yet take a look. It works pretty well and is easy to setup.
So what can it do at the moment:

 Allow you to install different versions of mysql on the same box.
Run everthing as a non-root user
Stop and start either one or all instances easily

For my needs it seems to be missing:

The ability to indicate which instances should start / stop and a way to trigger this from init during startup / shutdown.
The way to access the instances is quite different from a normal mysql installation. That has confused me quite a bit and as I use the Sandbox infrequently I have to go back and workout how to &#8220;get in&#8221; and also how to start or stop any instance, or check if it&#8217;s running.
I&#8217;m not entirely sure if it&#8217;s easy to adjust the paths for the different mysql &#8220;areas&#8221; to fit in with my usage of MySQL or something similar to OFA. These things are probably pretty easy to fix.
The name MySQL Sandbox sounds rather inappropriate if you really used it to manage mysql instances. That&#8217;s easy to change.

Ideal MySQL Layout
So how would I like the layout to look like?
Tarball binaries should probably be located somewhere like /path/to/some_binary_name, which allows us to distinguish between different architectures (i686, x86_64), and versions (5.0.89, 5.1.42, 5.5.0-m2). That&#8217;s already solved by the current tarballs which have a prefix such as mysql-5.5.0-m2-osx10.5-x86.
Each instance&#8217;s data should probably be located along the lines of:
/path/to/instance_name/data (for		MySQL data files and my.cnf)
/path/to/instance_name/tmp		(for MySQL tmpdir)
/path/to/instance_name/log		(for MySQL logfiles (binlog and relaylog)
This allows the locations under /path/to/ to be mounted on different file systems for performance (if needed).  In my case /path/to is simply /mysql, but that does not need to be that rigid. OFA is slightly different but the idea is the same.
Accessing the Instances
How do I access the instances?
Currently I access the instances using the following mechanism. Each instance has a name so that name is used to access the instance as a prefix of the normal mysql command.
So instance &#8220;a&#8221; is &#8220;managed&#8221;/&#8221;accessed&#8221; as follows:
mysql_a		access to mysql command line
mysqldump_a	access to mysqldump
mysqladmin_a	access to mysqladmin
&#8230;
Oracle does something slightly different by setting up the environment to determine which instance to be accessed. Then the normal command line utilities talk to the right instance.
Either way is fine but it should be very clear which instance you are attempting to access to avoid what could be costly mistakes.
It would be nice if the sandbox provided a common directory which could be included in $PATH so that all instances could be accessed from one place.
I don&#8217;t currently have a managed way to start / stop the instances. A file like /etc/oratab would do and then a command like:
mysql_init start		# start all &#8216;marked&#8217; instances
mysql_init stop			# stop all &#8216;marked&#8217; instances
mysql_init_a start		# start instance a
The final thing to want to do is to upgrade an instance. Normally this involves:

 Downloading the new version.
Stopping the instance to be upgraded.
Adjusting links/directories.
Perform various &#8220;admin tasks&#8221; to upgrade the instance.
Starting it normally again.

All that MySQL sandbox would need to do would be to perform 3.
So these are some of my ideas. I need to look at the MySQL Sandbox code in more detail to see if it will fit my needs but I expect it should not be too difficult to adjust it if needed.
Perhaps if you use other operating systems or package managers and manage one or more MySQL instances on multiple servers these issues are less of a problem. I have not seen comments by others worrying about some of the limitations of the current MySQL rpms and the problem is not really with rpm itself but with the expected usage of a single instance on a single server.
So is there a better way to do this or might MySQL Sandbox be the right solution to achieve my goal?]]></description>
			<content:encoded><![CDATA[<p>Normally I like to use the OS&#8217;s package manager to manage the software on my system. This ensures that things are done consistently.  When managing MySQL I&#8217;d also like to manage all my instances the same way.  That makes life easier for me but also for my fellow DBAs and sysadmin colleagues.</p>
<p>I use <a title="CentOS - The Community Enterprise Operating System" href="http://www.centos.org" >CentOS</a> and the rpm packages it provides and these work quite well. However, the MySQL rpms do not allow me to manage single and multiple instances alike and while mysqld runs as the mysql user the instance management needs to be done as root (stopping, starting instances, or default access). If you want to run multiple instances you can also use mysqld_multi, but that&#8217;s not the default setup.</p>
<p>So this is not ideal. While this may not be much of an issue if you manage a single server, if you manage tens or hundreds things changes somewhat and you REALLY want to manage all instances consistently.</p>
<p>So I&#8217;ve been thinking about finding an alternative which would suit me better. What do I need?</p>
<ul>
<li>The same treatment of a single instance or multiples on one box.</li>
<li>Management as much as possible from a non-root user (mysql?)</li>
<li>Separation of instances into separate &#8220;areas&#8221;, along the lines of Oracle&#8217;s <a title="Optimal Flexible Architecture" href="http://download.oracle.com/docs/cd/B28359_01/install.111/b32002/app_ofa.htm" >Optimal Flexible Architecture</a>.</li>
<li>Automatic startup on server boot, and shutdown of &#8220;SELECTED&#8221; instances.</li>
<li>Ability to support different versions of mysql running at the same time.</li>
<li>Straight forward mechanism to upgrade a server or switch the version of MySQL that is used to manage a specific instance..</li>
</ul>
<p>I was thinking of writing my own scripts but one solution which looks potentially close enough to my ideal solution would be to use Giuseppe Maxia&#8217;s <a title="MySQL Sandbox" href="http://mysqlsandbox.net/" >MySQL Sandbox</a>. I think this project was born with a completely different goal (enable you to quickly get a different mysql version up and running for testing), but it actually seems to solve most of the things I want for managing production instances.</p>
<p>If you&#8217;ve not used it yet take a look. It works pretty well and is easy to setup.</p>
<p>So what can it do at the moment:</p>
<ul>
<li> Allow you to install different versions of mysql on the same box.</li>
<li>Run everthing as a non-root user</li>
<li>Stop and start either one or all instances easily</li>
</ul>
<p>For my needs it seems to be missing:</p>
<ul>
<li>The ability to indicate which instances should start / stop and a way to trigger this from init during startup / shutdown.</li>
<li>The way to access the instances is quite different from a normal mysql installation. That has confused me quite a bit and as I use the Sandbox infrequently I have to go back and workout how to &#8220;get in&#8221; and also how to start or stop any instance, or check if it&#8217;s running.</li>
<li>I&#8217;m not entirely sure if it&#8217;s easy to adjust the paths for the different mysql &#8220;areas&#8221; to fit in with my usage of MySQL or something similar to OFA. These things are probably pretty easy to fix.</li>
<li>The name <em>MySQL Sandbox</em> sounds rather inappropriate if you really used it to manage mysql instances. That&#8217;s easy to change.</li>
</ul>
<h2>Ideal MySQL Layout</h2>
<p>So how would I like the layout to look like?</p>
<p>Tarball binaries should probably be located somewhere like /path/to/some_binary_name, which allows us to distinguish between different architectures (i686, x86_64), and versions (5.0.89, 5.1.42, 5.5.0-m2). That&#8217;s already solved by the current tarballs which have a prefix such as mysql-5.5.0-m2-osx10.5-x86.</p>
<p>Each instance&#8217;s data should probably be located along the lines of:</p>
<p>/path/to/instance_name/data (for		MySQL data files and my.cnf)<br />
/path/to/instance_name/tmp		(for MySQL tmpdir)<br />
/path/to/instance_name/log		(for MySQL logfiles (binlog and relaylog)</p>
<p>This allows the locations under /path/to/ to be mounted on different file systems for performance (if needed).  In my case /path/to is simply /mysql, but that does not need to be that rigid. OFA is slightly different but the idea is the same.</p>
<h2>Accessing the Instances</h2>
<p>How do I access the instances?</p>
<p>Currently I access the instances using the following mechanism. Each instance has a name so that name is used to access the instance as a prefix of the normal mysql command.</p>
<p>So instance &#8220;a&#8221; is &#8220;managed&#8221;/&#8221;accessed&#8221; as follows:</p>
<p>mysql_a		access to mysql command line<br />
mysqldump_a	access to mysqldump<br />
mysqladmin_a	access to mysqladmin<br />
&#8230;</p>
<p>Oracle does something slightly different by setting up the environment to determine which instance to be accessed. Then the normal command line utilities talk to the right instance.</p>
<p>Either way is fine but it should be very clear which instance you are attempting to access to avoid what could be costly mistakes.</p>
<p>It would be nice if the sandbox provided a common directory which could be included in $PATH so that all instances could be accessed from one place.</p>
<p>I don&#8217;t currently have a managed way to start / stop the instances. A file like /etc/oratab would do and then a command like:</p>
<p>mysql_init start		# start all &#8216;marked&#8217; instances<br />
mysql_init stop			# stop all &#8216;marked&#8217; instances<br />
mysql_init_a start		# start instance a</p>
<p>The final thing to want to do is to upgrade an instance. Normally this involves:</p>
<ul>
<li> Downloading the new version.</li>
<li>Stopping the instance to be upgraded.</li>
<li>Adjusting links/directories.</li>
<li>Perform various &#8220;admin tasks&#8221; to upgrade the instance.</li>
<li>Starting it normally again.</li>
</ul>
<p>All that MySQL sandbox would need to do would be to perform 3.</p>
<p>So these are some of my ideas. I need to look at the MySQL Sandbox code in more detail to see if it will fit my needs but I expect it should not be too difficult to adjust it if needed.</p>
<p>Perhaps if you use other operating systems or package managers and manage one or more MySQL instances on multiple servers these issues are less of a problem. I have not seen comments by others worrying about some of the limitations of the current MySQL rpms and the problem is not really with rpm itself but with the expected usage of a single instance on a single server.</p>
<p>So is there a better way to do this or might MySQL Sandbox be the right solution to achieve my goal?</p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=22865&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=22865&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/01/03/managing-mysql-with-mysql-sandbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

