---
title: "Update auf typo3 4.2.1, error: No database selected"
url: "https://www.typo3.net/d/81800-update-auf-typo3-421-error-no-database-selected"
source: "typo3.net"
tags: ["Hosting","Installation & Update","Datenbank","Frage"]
created: "2008-09-15"
last_reply: "2008-09-17"
replies: 1
solved: true
page: 1
pages: 1
lang: "de"
---

# Update auf typo3 4.2.1, error: No database selected

Hosting › Installation & Update · 1 Antwort · gelöst · gestartet 2008-09-15

## Frage

**Unbekannter Benutzer** · 2008-09-15 · [Beitrag #1](https://www.typo3.net/d/81800-update-auf-typo3-421-error-no-database-selected/1)

Hallo,

ich habe gerade Typo3 von Version 4.1.1 auf 4.2.1 umgestellt.

soweit alles klar.

Jetzt kommt das Problem, hier die Botschaft von Typo3:

## INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script! $TYPO3_CONF_VARS["SYS"]["compat_version"] = '4.2'; // Modified or inserted by TYPO3 Install Tool. // Updated by TYPO3 Install Tool 15-09-08 15:26:25
No database selected

Database Error

Das habe ich gemacht, d.h. ich habe in localconf "4.2" eingetragen. Dann hat glaube ich auch alles geklappt, aber jetzt sind die Dateien weg.
Ich konnte leider keine Anleitungen im Forum befolgen.

Gruß
Beatrice

## Beste Antwort

**brokemeister** · 2008-09-17 · [Beitrag #2](https://www.typo3.net/d/81800-update-auf-typo3-421-error-no-database-selected/2)

Hi!
Schau mal in der localconf.php,
da muss fast am Anfang die db stehen.
Vielleicht werden der Variablen überschrieben...

```php
$typo_db_username = 'yourUser';	//  Modified or inserted by TYPO3 Install Tool.
$typo_db_password = 'yourPassword';	//  Modified or inserted by TYPO3 Install Tool.
$typo_db_host = 'localhost';	//  Modified or inserted by TYPO3 Install Tool.
$typo_db = 'yourDB';	//  Modified or inserted by TYPO3 Install Tool.
```

Gruß
Malte

## Antworten

### [#2](https://www.typo3.net/d/81800-update-auf-typo3-421-error-no-database-selected/2) · brokemeister · 2008-09-17 · Beste Antwort

(Text siehe oben unter „Beste Antwort“.)

---

Quelle: „Update auf typo3 4.2.1, error: No database selected“, typo3.net, https://www.typo3.net/d/81800-update-auf-typo3-421-error-no-database-selected
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
