Skip to main content

CAP.L0.INSTANCE_DIVERGENCE — the server is not the one the configuration describes

  • Category: safety
  • Level: 0
  • Stability: stable
  • Suites: audit

The connection's configured host, port or database name does not match what the server reported about itself.

Reported, not reconciled​

SQLens has no way to know which side is correct. A pooler legitimately changes the address; a stale config file legitimately does not. What it can do is refuse to let a report about one instance be read as a report about another.

So this is a notice on the report rather than a stop: the audit continues, and the header states both what was configured and what answered.

What to do​

Compare the two values the notice names. If the difference is a pooler or a proxy doing its job, nothing is wrong and the notice is the record of that. If the configuration is stale, the finding list you are looking at may be about a database you did not mean to audit.