<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Database error. Please help]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7511</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7511&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Database error. Please help.]]></description>
		<lastBuildDate>Fri, 11 May 2018 14:41:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Database error. Please help]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=31638#p31638</link>
			<description><![CDATA[<p>It is possible you upgraded your FA which now requires all tables to be InnoDB.</p><p>One work around is to <a href="https://www.ryadel.com/en/mysql-convert-all-tables-of-one-or-more-databases-to-myisam-or-innodb/">convert all tables in the database into MyISAM type from InnoDB</a> - FA 2.4.x should still work fine.<br />The current stock FA v2.4.x does not use any of the InnoDB features like references and cascades yet.</p><div class="codebox"><pre><code>SELECT CONCAT(&#039;ALTER TABLE &#039;, TABLE_SCHEMA, &#039;.&#039;, TABLE_NAME,&#039; ENGINE=MyISAM;&#039;) 
FROM Information_schema.TABLES WHERE TABLE_SCHEMA = &#039;DBNAME&#039; AND ENGINE = &#039;InnoDB&#039; AND TABLE_TYPE = &#039;BASE TABLE&#039;;</code></pre></div><p>Replace your FA database name in <strong> &#039;DBNAME&#039;</strong> above and then execute the output sql statements.</p><p>Alternatively <a href="http://edge2.blogspot.in/2012/07/enable-innodb-in-mysql.html">enable InnoDB engine</a> in your <em>my.cnf</em> or <em>my.ini</em> file and restart the MySQL server:<br /></p><div class="codebox"><pre><code>default-storage-engine=innodb
default-table-type=innodb</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 11 May 2018 14:41:45 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=31638#p31638</guid>
		</item>
		<item>
			<title><![CDATA[Database error. Please help]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=31636#p31636</link>
			<description><![CDATA[<p>Hi </p><p>We been working on the system for about 5 year now.</p><p>Suddenly the following error popped up:</p><p>DATABASE ERROR : could not get all fiscal years<br />error code : 1286<br />error message : Unknown storage engine &#039;InnoDB&#039;<br />sql that failed was : SELECT * FROM 4_fiscal_year ORDER BY begin</p><p>Please advise what this means and how it can be resolved.</p>]]></description>
			<author><![CDATA[null@example.com (janussnyders)]]></author>
			<pubDate>Fri, 11 May 2018 08:22:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=31636#p31636</guid>
		</item>
	</channel>
</rss>
