KB Article #179297
How to use an old Analytics DB in a new Domain
Problem
You have installed a new API Gateway Domain but would like to use the Analytics DB from an older Domain.
This is not possible because when you point back to the old Analyticss DB there is a check against the DomainID - which is stored in the Analytics tables.
Resolution
You can get around this by a 'hack'. The DomainID of the system is stored in the Analytics DB on setup, and is always checked. To use old Analytics data in a new Domain you need to update the 'versions' table 'DomainID' to use the domain id of the new installation.