---
title: "TYPO3 Exception 1270853882"
manual: "TYPO3 Exceptions"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3exceptions:typo3-exception-1270853882"
source: "Exceptions/1270853882.rst"
rendered: "2026-10-01T16:20:50+00:00"
---

# TYPO3 Exception 1270853882 {#typo3-exception-1270853882}

> [!NOTE]
> Below, the TYPO3 community may have provided additional information or
> solutions for this exception. However, these may or may not apply to your
> particular case. If you can provide more information, you should come back
> here and add your experience and solution steps to this issue once you have
> resolved it.
>
> General TYPO3 troubleshooting tips can be found in the *Troubleshooting*
> section in the menu. You can also ask questions and receive support in the
> [TYPO3 Questions category on talk.typo3.org](https://talk.typo3.org/c/typo3-questions/).
>
> To add your experience, click "Edit on GitHub" above and follow the
> ["Edit on GitHub" workflow](https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Howto/EditOnGithub.html#docs-contribute-github-method).
> Also check out
> [our tip on Coding Style and reST](https://docs.typo3.org/permalink/t3exceptions:tip-about-rest-coding-style).

## TYPO3 Fatal Error: No database selected! {#typo3-fatal-error-no-database-selected}

`typo3conf/LocalConfiguration.php` misses the database configuration.

If you've just updated from a version below TYPO3 8.7 , you are most probably missing new
configuration in your `AdditionalConfiguration.php` file. Since TYPO3 8.7 the
structure of the db connection configuration has changed.

Something like that will work in AdditionalConfiguration.php:

```
$GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['dbname'] = 'dbname';
$GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['host'] = '127.0.0.1';
$GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['user'] = 'username';
$GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['password'] = 'passwordtodb';

```

Read more here:

[https://docs.typo3.org/typo3cms/CoreApiReference/8.7/ApiOverview/Database/Configuration/Index.html](https://docs.typo3.org/typo3cms/CoreApiReference/8.7/ApiOverview/Database/Configuration/Index.html)
