Added dbConnectMain() for establishing connection to main database, in ShivaConfig.