From 954d65c83a56375bd7f40d9dec6fa4485248ba3c Mon Sep 17 00:00:00 2001 From: Vishwas Babu A J Date: Mon, 31 Mar 2014 15:02:01 -0700 Subject: [PATCH] Update INSTALL.md move reference to database updates to section 2.2.2 --- INSTALL.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 2dde4943d..f139b080f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -101,12 +101,7 @@ The two ways to get up and running with mifos platform is: mysql -uroot -pmysql mifosplatform-tenants < database/mifospltaform-tenants-first-time-install.sql ``` - Step three (only for those updating an existing MifosX installation to version 1.21.* or higher): upgrade the mifosplatform-tenants database with patch ```database/list_db/V2__externalize-connection-properties``` - ``` - mysql -uroot -pmysql mifosplatform-tenants < database/list_db/V2__externalize-connection-properties - ``` - - Step four: create mifostenant-default database + Step three: create mifostenant-default database ``` mysql -uroot -pmysql create database `mifostenant-default`; @@ -115,10 +110,16 @@ The two ways to get up and running with mifos platform is: #### 2.2.2 Upgrade existing database(s) + Those updating an existing MifosX installation to version 1.21.* or higher would need to upgrade the *mifosplatform-tenants* database with patch ```database/list_db/V2__externalize-connection-properties``` + ``` + mysql -uroot -pmysql mifosplatform-tenants < database/list_db/V2__externalize-connection-properties + ``` + Any *tenant* databases will be upgraded automatically when the application starts if the *auto_update* field of the *tenants* database table is enabled(=1). This is the default setting. Upgrading your database in this way is the recomended way as it will upgrade any *tenants* setup in the *mifosplatform-tenants* database but can be disabled by setting the *auto_update* field of the tenant to zero. + ### 2.3 Tomcat 7 Setup Assumption: You have downloaded and installed Tomcat 7 correctly for your operation system: see http://tomcat.apache.org/tomcat-7.0-doc/setup.html