connect database from context.xml file