create database config file only if connected to db
create database config file only if connected to db
Merge pull request #31 from devenbhooshan/master

create database config file only if connected to db