Steps for setting up of new trial instance
Step 1: Login to data base with the 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)
Step 2: Create a empty data base. Eg: `mifostenant-[ClientName]` (Make sure `mifostenant-` is prefixed while creating the data base)
![](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&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&height=250)
Step 4: Login to the putty using the 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&height=250)
Step 5: Run the below commands one by one.
$ ps -ef | grep java
$ KILL -9 [RUNNING TOMCAT ID]
$ SUDO sh /usr/share/tomcat7/bin/startup.sh