<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Error creating Database during installation]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=63</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=63&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Error creating Database during installation.]]></description>
		<lastBuildDate>Wed, 30 Jan 2008 22:15:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Error creating Database during installation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=351#p351</link>
			<description><![CDATA[<p>Hello again,</p><p>I&#039;ve just&nbsp; found it. <br />This is problem of some old MySQL extensions for php which do not like &#039;;&#039; in &#039;create&#039; queries. This bug affects MySQL client API version 3.23.58 at least. The problem will be fixed in CVS soon.</p><p>You can fix it yourself too in your local copy of FA, here is the patch:</p><p>diff -r1.5 maintenance_db.inc</p><p>163c163<br />&lt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (strtolower(substr($line, 0, 1)) == &quot;)&quot;)<br />---<br />&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (strtolower(substr($line, 0, 1)) == &quot;)&quot;) {<br />164a165,166<br />&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $line = substr($line,0,strlen($line)-1);<br />&gt; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;}</p><p>Regards<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Wed, 30 Jan 2008 22:15:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=351#p351</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error creating Database during installation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=350#p350</link>
			<description><![CDATA[<p>Hi all, <br />I had the same problem when installing FA in subdomain. Strange 10_ prefix is simply result of multiply calling install.php&nbsp; Database was not created, but you have 10 new login data sets in config_db.php. This bug is the small one.</p><p>The reason of the whole issue is unclear for me, and I hadn&#039;t enough time to track it down. Database claims that there is syntax error near &#039;;&#039; in line 20 of en_US.sql</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Wed, 30 Jan 2008 19:33:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=350#p350</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error creating Database during installation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=341#p341</link>
			<description><![CDATA[<p>Hi Lurdsammie,<br />I had a similar problem as you described here. After some fumbling around I figured out that I didn&#039;t have enough rights on the database. Please check if you have permission on this database for Creating tables.</p><p>Also, try loging into mysql from the command line, if possible. Or, if you have phpmyadmin, select the database and see if you have permissions.</p><p>Raja</p>]]></description>
			<author><![CDATA[null@example.com (rdsingh)]]></author>
			<pubDate>Tue, 29 Jan 2008 00:04:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=341#p341</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error creating Database during installation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=187#p187</link>
			<description><![CDATA[<p>Thanks joe for the reply.&nbsp; I am not too sure where that (10_) came from but I have actually taken the trouble to delete the database, deleted the installation directory and recreated everything from scratch, I even changed the database admin details and tried several times to reinstall FA.</p><p>Unfortunately this hasn&#039;t helped.</p><p>Anymore ideas?</p><p>thanks</p><p>sammie</p>]]></description>
			<author><![CDATA[null@example.com (lurdsammie)]]></author>
			<pubDate>Wed, 21 Nov 2007 00:49:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=187#p187</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error creating Database during installation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=178#p178</link>
			<description><![CDATA[<p>Hello lurdsammie,<br />There seems to be a strange table prefix (10_), especielly if you are starting with a fresh installation. If you only have one company, the prefix counter starts with (0_). The file, config_db.php, contains the prefix counter. Check that this is set to 0. Also check that your chart of accounts has a prefix of 0_. Otherwise do a search and replace.<br />The best thing to do when doing a fresh install is to first create the database, and then run the /install, that way it should be taken care of everything.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sun, 18 Nov 2007 21:11:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=178#p178</guid>
		</item>
		<item>
			<title><![CDATA[Error creating Database during installation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=177#p177</link>
			<description><![CDATA[<p>Hello there,</p><p>I have installed frontaccounting on my server before without any problems at all.&nbsp; I have had to reinstall simply due to silly mistakes by users.</p><p>Surprisingly on attempt to reinstall, actually to a subdomain, I get an error message: </p><p>Error: Import error, try to import ../sql/en_US-demo.sql manually via phpMyAdmin</p><br /><p>I did import the database from a working installation.&nbsp; But on attempt to login using the admin details i get sql database error:</p><p>DATABASE ERROR : could not get validate user login for admin<br />error code : 1046<br />error message : No database selected<br />sql that failed was : SELECT * FROM 10_users WHERE user_id = &#039;admin&#039; AND password=&#039;a0ea68djopiop5478fvdlfgplpoi09iu89676pfg&#039;</p><br /><p>Please advice.</p>]]></description>
			<author><![CDATA[null@example.com (lurdsammie)]]></author>
			<pubDate>Sun, 18 Nov 2007 20:53:39 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=177#p177</guid>
		</item>
	</channel>
</rss>
