<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Upgrading database - the mechanics for reference.]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1896&amp;type=atom" />
	<updated>2011-02-12T19:17:26Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=1896</id>
		<entry>
			<title type="html"><![CDATA[Re: Upgrading database - the mechanics for reference.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=8323#p8323" />
			<content type="html"><![CDATA[<p>This is roughly how FA upgrade procedure works, however there is more config files than mentioned config_db.php, so better way is to just unpack the new tarball content over an&nbsp; old application sources overwritting old files. This way you are sure all configuration files are in place after the upgrade. </p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2011-02-12T19:17:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=8323#p8323</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Upgrading database - the mechanics for reference.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=8319#p8319" />
			<content type="html"><![CDATA[<p>Hi Fellas, thanks for the latest version.</p><p>Can I just confirm this (in my own mind, and may help others too)? I&#039;ve found the db upgrade instructions a bit unclear and had to &#039;relearn it&#039; each version so wanted to clarify it. Is this right?</p><p><strong>Upgrading Database</strong><br /><span class="bbu">When?</span><br />- Done when shifting major/submajor version eg. 2.2.x to 2.3.x</p><p><span class="bbu">How?</span><br />1. Copy your current config_db.php to the new upgraded source directory. This tells FA which db to use. This of course is the old version at the moment, and will require modifications to the structure of the database eg. keys, indexes and new/modified tables.</p><p>2. Go into Setup/Software Upgrade.<br />The system works out what you&#039;re old database version is, then lets you upgrade by clicking. The script knows what you&#039;re old database is called, and what it&#039;s prefix is eg. 0_ or 1_. It then applies the right .sql file via a php script from the ../sql directory eg. alter2.3.php.</p><p>If things go to plan, the upgrade occurs and you&#039;re back in!</p>]]></content>
			<author>
				<name><![CDATA[p2409]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=267</uri>
			</author>
			<updated>2011-02-12T15:35:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=8319#p8319</id>
		</entry>
</feed>
