---
title: "Breaking: #96291 - Disallow DB connection before TCA is loaded"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-96291"
source: "Changelog/12.0/Breaking-96291-DisallowDBConnectionBeforeTCAIsLoaded.rst"
typo3-version: "12.0"
typo3-major: 12
type: "breaking"
issue: 96291
forge: "https://forge.typo3.org/issues/96291"
tags: ["Database", "NotScanned", "ext:core"]
rendered: "2026-09-25T23:17:45+00:00"
---

# Breaking: #96291 - Disallow DB connection before TCA is loaded {#breaking-96291}

See [forge#96291](https://forge.typo3.org/issues/96291)

## Description {#description}

Accessing the database API before TCA is loaded
is considered to be a logic mistake, as TCA is required
to generate the expected database schema.

## Impact {#impact}

Extensions that access the TYPO3 database API in
`ext_localconf.php` files or TCA files will not work
any more, because TYPO3 will throw an exception in this case.

## Affected Installations {#affected-installations}

TYPO3 installations with third-party extensions,
that access database API before TCA is loaded.

## Migration {#migration}

Database API can be accessed earliest in the
`\TYPO3\CMS\Core\Core\Event\BootCompletedEvent`.
