<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: MySQL 5.1.24, InnoDB plugin 1.0 failures, server crash</title>
	<atom:link href="http://venublog.com/2008/04/21/mysql-5124-innodb-plugin-10-failures-server-crash/feed/" rel="self" type="application/rss+xml" />
	<link>http://venublog.com/2008/04/21/mysql-5124-innodb-plugin-10-failures-server-crash/</link>
	<description>Everything In Life Is Random! (Personal and Work)</description>
	<lastBuildDate>Thu, 02 Feb 2012 16:29:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Confluence: Merchantize Database</title>
		<link>http://venublog.com/2008/04/21/mysql-5124-innodb-plugin-10-failures-server-crash/comment-page-1/#comment-10248</link>
		<dc:creator>Confluence: Merchantize Database</dc:creator>
		<pubDate>Wed, 16 Jun 2010 19:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=271#comment-10248</guid>
		<description>&lt;strong&gt;Innodb Plugin vs Innodb built-in...&lt;/strong&gt;

For MySQL 5.1 version upgrade and MyISAM to Innodb conversion in the next phase we need to know if Innodb plugin is better than Innodb builtin.......</description>
		<content:encoded><![CDATA[<p><strong>Innodb Plugin vs Innodb built-in&#8230;</strong></p>
<p>For MySQL 5.1 version upgrade and MyISAM to Innodb conversion in the next phase we need to know if Innodb plugin is better than Innodb builtin&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kris</title>
		<link>http://venublog.com/2008/04/21/mysql-5124-innodb-plugin-10-failures-server-crash/comment-page-1/#comment-4295</link>
		<dc:creator>kris</dc:creator>
		<pubDate>Wed, 04 Jun 2008 16:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=271#comment-4295</guid>
		<description>Hi,
same issue here.
It got failed to install even in 5.1.22-rc though file exist in the default pulgin dir and having sufficient privilges to user/group..

mysql&gt; INSTALL PLUGIN INNODB SONAME &#039;ha_innodb.so&#039;;
ERROR 1126 (HY000): Can&#039;t open shared library &#039;ha_innodb.so&#039; (errno: 22 cannot open shared object file: Permission denied)</description>
		<content:encoded><![CDATA[<p>Hi,<br />
same issue here.<br />
It got failed to install even in 5.1.22-rc though file exist in the default pulgin dir and having sufficient privilges to user/group..</p>
<p>mysql&gt; INSTALL PLUGIN INNODB SONAME &#8216;ha_innodb.so&#8217;;<br />
ERROR 1126 (HY000): Can&#8217;t open shared library &#8216;ha_innodb.so&#8217; (errno: 22 cannot open shared object file: Permission denied)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venu Anuganti</title>
		<link>http://venublog.com/2008/04/21/mysql-5124-innodb-plugin-10-failures-server-crash/comment-page-1/#comment-2579</link>
		<dc:creator>Venu Anuganti</dc:creator>
		<pubDate>Thu, 24 Apr 2008 07:33:58 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=271#comment-2579</guid>
		<description>Thanks Ken for the update.

Yup, I was able to get around the issues and I have a working copy of 5.1.24 with InnoDB 1.0. I will post the results later</description>
		<content:encoded><![CDATA[<p>Thanks Ken for the update.</p>
<p>Yup, I was able to get around the issues and I have a working copy of 5.1.24 with InnoDB 1.0. I will post the results later</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venu Anuganti</title>
		<link>http://venublog.com/2008/04/21/mysql-5124-innodb-plugin-10-failures-server-crash/comment-page-1/#comment-2578</link>
		<dc:creator>Venu Anuganti</dc:creator>
		<pubDate>Thu, 24 Apr 2008 07:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=271#comment-2578</guid>
		<description>Vasil,

Thanks for the info, check this.
http://venublog.com/2008/04/23/simple-way-to-crash-innodb-plugin-10/

It is not a real scenario as this is a negative case, but good to fix it though as it is leading to a crash... and it may be a common practice for many individiuls in the initial days</description>
		<content:encoded><![CDATA[<p>Vasil,</p>
<p>Thanks for the info, check this.<br />
<a href="http://venublog.com/2008/04/23/simple-way-to-crash-innodb-plugin-10/" rel="nofollow">http://venublog.com/2008/04/23/simple-way-to-crash-innodb-plugin-10/</a></p>
<p>It is not a real scenario as this is a negative case, but good to fix it though as it is leading to a crash&#8230; and it may be a common practice for many individiuls in the initial days</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasil Dimov</title>
		<link>http://venublog.com/2008/04/21/mysql-5124-innodb-plugin-10-failures-server-crash/comment-page-1/#comment-2577</link>
		<dc:creator>Vasil Dimov</dc:creator>
		<pubDate>Thu, 24 Apr 2008 06:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=271#comment-2577</guid>
		<description>Hi Venu,

To summarize what should work and what is know to have problems about innodb_plugin-1.0.0:

* The binaries should work with MySQL 5.1.23 standard binary distro (if you compile 5.1.23 from source you&#039;d better also compile the plugin, either statically or dynamically)

* The binaries cannot be plugged into 5.1.24 because of the version check performed by MySQL (you will get an error if you try to do so)

* The source should compile and work with 5.1.23 or 5.1.24 sources, it fails to install with that @MKDIR_P@ error. This is fixable if you re-create the autotool files by running ./BUILD/autorun.sh before ./configure (I already fixed this here so the next version will be ok)

The fact that you compiled the plugin statically (./configure --with-plugins=innobase) and only the I_S plugins are shown by &quot;show plugins;&quot; is very strange.

The crash that followed when trying to SELECT from the I_S tables is not a surprise because the code there is trying to access InnoDB&#039;s (as in main innodb plugin - the storage engine) structures which are not initialized because it is not loaded. The I_S plugins are meaningless without the storage engine plugin.

Did you actually resolved the problem? Some issue with my.cnf?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Venu,</p>
<p>To summarize what should work and what is know to have problems about innodb_plugin-1.0.0:</p>
<p>* The binaries should work with MySQL 5.1.23 standard binary distro (if you compile 5.1.23 from source you&#8217;d better also compile the plugin, either statically or dynamically)</p>
<p>* The binaries cannot be plugged into 5.1.24 because of the version check performed by MySQL (you will get an error if you try to do so)</p>
<p>* The source should compile and work with 5.1.23 or 5.1.24 sources, it fails to install with that @MKDIR_P@ error. This is fixable if you re-create the autotool files by running ./BUILD/autorun.sh before ./configure (I already fixed this here so the next version will be ok)</p>
<p>The fact that you compiled the plugin statically (./configure &#8211;with-plugins=innobase) and only the I_S plugins are shown by &#8220;show plugins;&#8221; is very strange.</p>
<p>The crash that followed when trying to SELECT from the I_S tables is not a surprise because the code there is trying to access InnoDB&#8217;s (as in main innodb plugin &#8211; the storage engine) structures which are not initialized because it is not loaded. The I_S plugins are meaningless without the storage engine plugin.</p>
<p>Did you actually resolved the problem? Some issue with my.cnf?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venu Anuganti Blog &#187; Simple way to Crash InnoDB plugin 1.0</title>
		<link>http://venublog.com/2008/04/21/mysql-5124-innodb-plugin-10-failures-server-crash/comment-page-1/#comment-2576</link>
		<dc:creator>Venu Anuganti Blog &#187; Simple way to Crash InnoDB plugin 1.0</dc:creator>
		<pubDate>Thu, 24 Apr 2008 05:56:37 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=271#comment-2576</guid>
		<description>[...] I figured out the reason for MySQL Server 5.1.24 crash when used with InnoDB plugin 1.0. As I had a older my.cnf in the path and it had [...]</description>
		<content:encoded><![CDATA[<p>[...] I figured out the reason for MySQL Server 5.1.24 crash when used with InnoDB plugin 1.0. As I had a older my.cnf in the path and it had [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken Jacobs</title>
		<link>http://venublog.com/2008/04/21/mysql-5124-innodb-plugin-10-failures-server-crash/comment-page-1/#comment-2573</link>
		<dc:creator>Ken Jacobs</dc:creator>
		<pubDate>Thu, 24 Apr 2008 04:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=271#comment-2573</guid>
		<description>Thanks, Venu, for your posting.  Just a few quick comments ...

As you correctly point out, there are issues in making the InnoDB Plugin work with MySQL 5.1.24. Unfortunately, just days after the release of the new InnoDB Plugin, tested to work with 5.1.23, MySQL released 5.1.24, which turns out is incompatible with the plugin.  This affects both binary and source. 

You&#039;re absolutely right that we (Innobase) are working on a solution to the problem.  We noted on the InnoDB Forum http://forums.innodb.com/read.php?5,36 that this was a known issue with respect to binaries, and the bug you site is an issue with respect to source builds.   

One other thing to note is that with 5.1.23, there is already a statically-linked built-in InnoDB in MySQL.  In order to plug in the new InnoDB Plugin in binary, you must disable the built-in InnoDB using the parameter skip-innodb, before you can issue the command INSTALL PLUGIN, as documented in the manual for the plugin: http://www.innodb.com/doc/innodb_plugin-1.0/innodb-plugin-installation.html#innodb-plugin-installation-dynamic
Did you have that setting when you tried to build a dynamically loadable plugin separately?

In general, there might be a short-term solution for 5.1.24, but there is a bigger problem: the API for storage engines is undocumented and unstable from release to release. Furthermore, a strict version compatibility check is enforced, even if the relevant data structures and APIs did not in fact change between versions.  See this blog http://www.mysqlperformanceblog.com/2008/04/20/mysql-and-plugin-binaries/ where Vadim Tkachenko discusses some of the relevant issues.

So, some changes from MySQL are needed so that a given release of the InnoDB Plugin might work with multiple releases of MySQL.  We are hopeful these changes can be implemented in short order, but MySQL will need to assess what needs to be done, and what can be done easily/quickly/soon.

So, Kevin, it might be currently true that &quot;there will need to be a differently compiled version of the plug-in for each version of the server&quot;.  It does suck, and that is the way it is ... for now.  Keep the faith!

In the meantime, Venu, please do experiment with the InnoDB Plugin using 5.1.23, and let us know your findings (best done on the InnoDB Forums).  Results like those posted on the MySQL Performance Blog recently are very encouraging.

Thanks for your interest!</description>
		<content:encoded><![CDATA[<p>Thanks, Venu, for your posting.  Just a few quick comments &#8230;</p>
<p>As you correctly point out, there are issues in making the InnoDB Plugin work with MySQL 5.1.24. Unfortunately, just days after the release of the new InnoDB Plugin, tested to work with 5.1.23, MySQL released 5.1.24, which turns out is incompatible with the plugin.  This affects both binary and source. </p>
<p>You&#8217;re absolutely right that we (Innobase) are working on a solution to the problem.  We noted on the InnoDB Forum <a href="http://forums.innodb.com/read.php?5,36" rel="nofollow">http://forums.innodb.com/read.php?5,36</a> that this was a known issue with respect to binaries, and the bug you site is an issue with respect to source builds.   </p>
<p>One other thing to note is that with 5.1.23, there is already a statically-linked built-in InnoDB in MySQL.  In order to plug in the new InnoDB Plugin in binary, you must disable the built-in InnoDB using the parameter skip-innodb, before you can issue the command INSTALL PLUGIN, as documented in the manual for the plugin: <a href="http://www.innodb.com/doc/innodb_plugin-1.0/innodb-plugin-installation.html#innodb-plugin-installation-dynamic" rel="nofollow">http://www.innodb.com/doc/innodb_plugin-1.0/innodb-plugin-installation.html#innodb-plugin-installation-dynamic</a><br />
Did you have that setting when you tried to build a dynamically loadable plugin separately?</p>
<p>In general, there might be a short-term solution for 5.1.24, but there is a bigger problem: the API for storage engines is undocumented and unstable from release to release. Furthermore, a strict version compatibility check is enforced, even if the relevant data structures and APIs did not in fact change between versions.  See this blog <a href="http://www.mysqlperformanceblog.com/2008/04/20/mysql-and-plugin-binaries/" rel="nofollow">http://www.mysqlperformanceblog.com/2008/04/20/mysql-and-plugin-binaries/</a> where Vadim Tkachenko discusses some of the relevant issues.</p>
<p>So, some changes from MySQL are needed so that a given release of the InnoDB Plugin might work with multiple releases of MySQL.  We are hopeful these changes can be implemented in short order, but MySQL will need to assess what needs to be done, and what can be done easily/quickly/soon.</p>
<p>So, Kevin, it might be currently true that &#8220;there will need to be a differently compiled version of the plug-in for each version of the server&#8221;.  It does suck, and that is the way it is &#8230; for now.  Keep the faith!</p>
<p>In the meantime, Venu, please do experiment with the InnoDB Plugin using 5.1.23, and let us know your findings (best done on the InnoDB Forums).  Results like those posted on the MySQL Performance Blog recently are very encouraging.</p>
<p>Thanks for your interest!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Murphy</title>
		<link>http://venublog.com/2008/04/21/mysql-5124-innodb-plugin-10-failures-server-crash/comment-page-1/#comment-2544</link>
		<dc:creator>Keith Murphy</dc:creator>
		<pubDate>Tue, 22 Apr 2008 13:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=271#comment-2544</guid>
		<description>The consensus is that there will need to be a differently compiled version of the plug-in for each version of the server.  Sucks, but that is the way it is.</description>
		<content:encoded><![CDATA[<p>The consensus is that there will need to be a differently compiled version of the plug-in for each version of the server.  Sucks, but that is the way it is.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

