---
title: "database error"
url: "https://www.typo3.net/d/87187-database-error"
source: "typo3.net"
tags: ["Hosting","Installation & Update","Frage"]
created: "2009-02-23"
last_reply: "2009-02-23"
replies: 4
solved: false
page: 1
pages: 1
lang: "de"
---

# database error

Hosting › Installation & Update · 4 Antworten · gestartet 2009-02-23

## Eröffnungsbeitrag

**bojan** · 2009-02-23 · [Beitrag #1](https://www.typo3.net/d/87187-database-error/1)

hallo an alle,

dieses problem hat es hier schon einmal gegeben, jedoch versteh ich nicht wie es gelöst wurde.

Der Fehler lautet so:
"The current username, password or host was not accepted when the connection to the database was attempted to be established!"

So sieht ein teil meines PHP skripts in localconf aus:

```php
$typo_db_username = 'root';	//  Modified or inserted by TYPO3 Install Tool.
$typo_db_host = 'localhost';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['encryptionKey'] = 'ead48e690b46ee955be417b5f28cc2ad';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['compat_version'] = '4.1';	//  Modified or inserted by TYPO3 Install Tool.
$typo_db = 'feldbacher1_database1';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['installToolPassword'] ...
```

ich denke, dass ich bei $typo_db_host nicht 'localhost' angeben darf. Aber ich bin mir nicht sicher.

ich hoffe ihr könnt mir helfen, denn ich kenn mich da wirklich noch gar nicht aus.

danke euch

## Antworten

### [#2](https://www.typo3.net/d/87187-database-error/2) · just2b · 2009-02-23

frag deinen hoster. niemand weiß welche zugangsdaten du benötigst

georg

### [#3](https://www.typo3.net/d/87187-database-error/3) · bojan · 2009-02-23

danke, werd ich versuchen

### [#4](https://www.typo3.net/d/87187-database-error/4) · Unbekannter Benutzer · 2009-02-23

DB username = root

erstklassig :o

Vielleicht solltest Du es ernsthaft in Betracht ziehen, den Hoster zu wechseln!

### [#5](https://www.typo3.net/d/87187-database-error/5) · just2b · 2009-02-23

> **Magkes schrieb:**
>
> Vielleicht solltest Du es ernsthaft in Betracht ziehen, den Hoster zu wechseln!

vielleicht ists auch lokal seine maschine?

---

Quelle: „database error“, typo3.net, https://www.typo3.net/d/87187-database-error
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
