<!-- Source: @site/projects/sqlens-for-laravel/docs/rules/cap-l0-instance-divergence.md -->
<!-- Canonical: https://docs.pushery.com/sqlens-for-laravel/rules/cap-l0-instance-divergence/ -->

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

> The configuration says one thing and the server says another. SQLens cannot know which is right; it can refuse to let one be read as the other.

- **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.

## Related

- [The audit suite](https://docs.pushery.com/sqlens-for-laravel/audit.md) — what the report header states about the instance
