<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Database error. Please help]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7511&amp;type=atom" />
	<updated>2018-05-11T14:41:45Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7511</id>
		<entry>
			<title type="html"><![CDATA[Re: Database error. Please help]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=31638#p31638" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-05-11T14:41:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=31638#p31638</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Database error. Please help]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=31636#p31636" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[janussnyders]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42525</uri>
			</author>
			<updated>2018-05-11T08:22:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=31636#p31636</id>
		</entry>
</feed>
