How to Setup New Trail Instance

Steps for setting up a new trial instance:

Step 1: Login to your database with your credentials.

Step 2: Create an empty database. Eg: `mifostenant-[ClientName]` (Make sure `mifostenant-` is prefixed while creating the database)


Step 3: Click on `mifosplatform-tenants` database and run the command below to add a new tenant to the tenant_server_connections table:
INSERT INTO `tenant_server_connections` VALUES ('localhost', '[NEW TENANT DATAASE NAME]', '3306', 'root', 'mysql', 1, 5, 30000, 1, 60, 1, 50, 1, 40, 20, 10, 60, 34000, 60000, 0, 1);


Step 4: Login to the PuTTy using your credentials (Login as: ubuntu)

Step 5: Run the following commands sequentially, one after the other:
$ ps -ef | grep java
$ KILL -9 [RUNNING TOMCAT ID]
$ SUDO sh /usr/share/tomcat7/bin/startup.sh