[DF-291] Fix ConnectToDB()