<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Error creating Database during installation]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=63&amp;type=atom" />
	<updated>2008-01-30T22:15:49Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=63</id>
		<entry>
			<title type="html"><![CDATA[Re: Error creating Database during installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=351#p351" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2008-01-30T22:15:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=351#p351</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error creating Database during installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=350#p350" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2008-01-30T19:33:04Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=350#p350</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error creating Database during installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=341#p341" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[rdsingh]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=134</uri>
			</author>
			<updated>2008-01-29T00:04:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=341#p341</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error creating Database during installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=187#p187" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[lurdsammie]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=13</uri>
			</author>
			<updated>2007-11-21T00:49:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=187#p187</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error creating Database during installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=178#p178" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2007-11-18T21:11:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=178#p178</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Error creating Database during installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=177#p177" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[lurdsammie]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=13</uri>
			</author>
			<updated>2007-11-18T20:53:39Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=177#p177</id>
		</entry>
</feed>
