<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — install and InnoDB on new MySQL engines]]></title>
		<link>https://punbb.informer.com/forums/topic/29728/install-and-innodb-on-new-mysql-engines/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/29728/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in install and InnoDB on new MySQL engines.]]></description>
		<lastBuildDate>Fri, 16 Sep 2016 12:25:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: install and InnoDB on new MySQL engines]]></title>
			<link>https://punbb.informer.com/forums/post/156374/#p156374</link>
			<description><![CDATA[<p>Hello, I found that, in order to works, the solution needs extra edit, from $db to $forum_db</p><div class="codebox"><pre><code>// Check if InnoDB is available
    if ($db_type == &#039;mysql_innodb&#039; || $db_type == &#039;mysqli_innodb&#039;)
    {
        $result = $forum_db-&gt;query(&#039;SELECT SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE = \&#039;InnoDB\&#039;&#039;);
        list ($result) = $forum_db-&gt;fetch_row($result);
        if (!in_array($result, array(&#039;YES&#039;, &#039;DEFAULT&#039;)))
            error($lang_install[&#039;InnoDB off&#039;]);
    }</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (siprof)]]></author>
			<pubDate>Fri, 16 Sep 2016 12:25:17 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/156374/#p156374</guid>
		</item>
		<item>
			<title><![CDATA[Re: install and InnoDB on new MySQL engines]]></title>
			<link>https://punbb.informer.com/forums/post/155590/#p155590</link>
			<description><![CDATA[<p>thanks , so the solution was to add/change&nbsp; install.php</p><div class="codebox"><pre><code>// Check if InnoDB is available
    if ($db_type == &#039;mysql_innodb&#039; || $db_type == &#039;mysqli_innodb&#039;)
    {
        $result = $db-&gt;query(&#039;SELECT SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE = \&#039;InnoDB\&#039;&#039;);
        list ($result) = $db-&gt;fetch_row($result);
        if (!in_array($result, array(&#039;YES&#039;, &#039;DEFAULT&#039;)))
            error($lang_install[&#039;InnoDB off&#039;]);
    }</code></pre></div><p>from<br /></p><div class="codebox"><pre><code>// Check InnoDB support in DB
        if (in_array($db_type, array(&#039;mysql_innodb&#039;, &#039;mysqli_innodb&#039;)))
        {
            $result = $forum_db-&gt;query(&#039;SHOW VARIABLES LIKE \&#039;have_innodb\&#039;&#039;);
            $row = $forum_db-&gt;fetch_assoc($result);
            if (!$row || !isset($row[&#039;Value&#039;]) || strtolower($row[&#039;Value&#039;]) != &#039;yes&#039;)
            {
                error($lang_install[&#039;MySQL InnoDB Not Supported&#039;]);
            }
        }</code></pre></div><p>based on <br /><a href="http://stackoverflow.com/questions/10517045/determine-whether-innodb-plugin-is-installed-in-mysql/10517292#10517292">http://stackoverflow.com/questions/1051 … 2#10517292</a></p>]]></description>
			<author><![CDATA[null@example.com (KeyDog)]]></author>
			<pubDate>Wed, 17 Feb 2016 16:05:37 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155590/#p155590</guid>
		</item>
		<item>
			<title><![CDATA[Re: install and InnoDB on new MySQL engines]]></title>
			<link>https://punbb.informer.com/forums/post/155496/#p155496</link>
			<description><![CDATA[<p>wow! this is great news. thanks for the info!</p>]]></description>
			<author><![CDATA[null@example.com (brewsten.coding)]]></author>
			<pubDate>Tue, 02 Feb 2016 09:36:46 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155496/#p155496</guid>
		</item>
		<item>
			<title><![CDATA[install and InnoDB on new MySQL engines]]></title>
			<link>https://punbb.informer.com/forums/post/155418/#p155418</link>
			<description><![CDATA[<p>Since MySQL 5.6 <a href="http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_have_innodb">there is no variable `have_innodb`</a>. <br />So, <strong>you cannot use install option &quot;MySQL Improved (InnoDB)&quot; or &#039;MySQL Standard (InnoDB)&#039;</strong>.</p><p>Because of<br /><a href="https://github.com/punbb/punbb/blob/master/admin/install.php#L483">https://github.com/punbb/punbb/blob/mas … l.php#L483</a><br /></p><div class="codebox"><pre><code>            $result = $forum_db-&gt;query(&#039;SHOW VARIABLES LIKE \&#039;have_innodb\&#039;&#039;);
            $row = $forum_db-&gt;fetch_assoc($result);
            if (!$row || !isset($row[&#039;Value&#039;]) || strtolower($row[&#039;Value&#039;]) != &#039;yes&#039;)
            {
                error($lang_install[&#039;MySQL InnoDB Not Supported&#039;]);
            }</code></pre></div><p>You can adopt workaround from FluxBB ticket <a href="http://fluxbb.org/development/core/tickets/1078/">http://fluxbb.org/development/core/tickets/1078/</a></p>]]></description>
			<author><![CDATA[null@example.com (artoodetoo)]]></author>
			<pubDate>Sun, 17 Jan 2016 13:16:45 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155418/#p155418</guid>
		</item>
	</channel>
</rss>
