Steps for setting up a new trial instance:
Step 1: Login to your database with your credentials.
![](https://mifosforge.jira.com/wiki/download/thumbnails/187498786/Image1.png?version=2&modificationDate=1505482585453&cacheVersion=1&api=v2&effects=drop-shadow&width=480&height=269)
Step 2: Create an empty database. Eg: `mifostenant-[ClientName]` (Make sure `mifostenant-` is prefixed while creating the database)
![](https://mifosforge.jira.com/wiki/download/thumbnails/187498786/image2017-9-15_18-55-7.png?version=1&modificationDate=1505481910105&cacheVersion=1&api=v2&effects=drop-shadow&width=444&height=250)
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);
![](https://mifosforge.jira.com/wiki/download/thumbnails/187498786/Image12.png?version=2&modificationDate=1505482901370&cacheVersion=1&api=v2&effects=drop-shadow&width=444&height=250)
Step 4: Login to the PuTTy using your credentials (Login as: ubuntu)
![](https://mifosforge.jira.com/wiki/download/thumbnails/187498786/Image123.png?version=1&modificationDate=1505483135132&cacheVersion=1&api=v2&effects=drop-shadow&width=395&height=250)
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