# Probleme bei Erste mal Shopware installation

**URL:** https://forum.shopware.com/t/probleme-bei-erste-mal-shopware-installation/103910
**Category:** Installation / Einstieg
**Tags:** general
**Created:** [2. Mai 2024 um 12:21 UTC](https://forum.shopware.com/t/probleme-bei-erste-mal-shopware-installation/103910 "2024-05-02T12:21:40Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ilargi](https://avatars.discourse-cdn.com/v4/letter/i/e8c25b/32.png) [@ilargi](https://forum.shopware.com/u/ilargi)
#### Post date: [2. Mai 2024 um 12:21 UTC](https://forum.shopware.com/t/probleme-bei-erste-mal-shopware-installation/103910/1 "2024-05-02T12:21:40Z")

</div>

Hallo, Entschuldigung für meinen deutsch…

ich versuche Shopware in mein Home Verzeichnis zu installiert, wie [hier](https://developer.shopware.com/docs/guides/installation/devenv.html) wird gesagt…

Die installation gehe ohne Probleme bis schreibe,

```auto
bin/console system:install --basic-setup --create-database --force

```

Dann bekommt diese Fehler

> In ExceptionConverter.php line 101:

An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user ‚shopware‘@‚loc  
alhost‘ (using password: YES)

> In Exception.php line 28:

SQLSTATE[HY000] [1045] Access denied for user ‚shopware‘@‚localhost‘ (using password: YES)

> In Driver.php line 33:

SQLSTATE[HY000] [1045] Access denied for user ‚shopware‘@‚localhost‘ (using password: YES)

In Mysql habe gesucht nach shopware Datenbank, aber es gibt keine…auch habe der Cache gelöst mit `sudo apt-get autoclean `

---

<div class="post-metadata">

### Author: ![MichaelH74](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michaelh74/32/10014_2.png) [@MichaelH74](https://forum.shopware.com/u/MichaelH74)
#### Post date: [2. Mai 2024 um 12:59 UTC](https://forum.shopware.com/t/probleme-bei-erste-mal-shopware-installation/103910/2 "2024-05-02T12:59:27Z")

</div>

Die Datenbankverbindung klappt hier nicht oder der User hat keine Berechtigung eine Datenbank anzulegen.

Ich lege die vor der Installation meist selbst an und setze dann entsprechend die DB-Zugangsdaten.

Viele Grüße  
Michael

---

<div class="post-metadata">

### Author: ![ilargi](https://avatars.discourse-cdn.com/v4/letter/i/e8c25b/32.png) [@ilargi](https://forum.shopware.com/u/ilargi)
#### Post date: [2. Mai 2024 um 13:18 UTC](https://forum.shopware.com/t/probleme-bei-erste-mal-shopware-installation/103910/3 "2024-05-02T13:18:31Z")

</div>

Viel danke für deine antwort!

Was würdest du mir empfihlt, bringe der Shopware nach meine Server in mein Rechner ?,

> /var/www/html

wo befinde sich der DB-Zugangsdaten ? in welcher Datei ?, ich komme von OXID…

---

<div class="post-metadata">

### Author: ![MichaelH74](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michaelh74/32/10014_2.png) [@MichaelH74](https://forum.shopware.com/u/MichaelH74)
#### Post date: [2. Mai 2024 um 13:26 UTC](https://forum.shopware.com/t/probleme-bei-erste-mal-shopware-installation/103910/4 "2024-05-02T13:26:31Z")

</div>

OXID arbeitet ja auch mit einer MySQL Datenbank. Das sollte also sehr ähnlich laufen.

Jeder Provider hat eine Oberfäche um das Hosting zu konfigurieren. Dort kannst auch die Datenbanken verwalten und neue anlegen.

DIe Zugangsdaten kannst du entweder während des Setups eintragen oder direkt in die .env der Projekt-Root.

Wenn die DB dann schon existiert, das Argument „–create-database“ weg lassen.

Viele Grüße  
Michael

---

<div class="post-metadata">

### Author: ![ilargi](https://avatars.discourse-cdn.com/v4/letter/i/e8c25b/32.png) [@ilargi](https://forum.shopware.com/u/ilargi)
#### Post date: [2. Mai 2024 um 13:32 UTC](https://forum.shopware.com/t/probleme-bei-erste-mal-shopware-installation/103910/5 "2024-05-02T13:32:24Z")

</div>

ich habe das probleme der keine

> config.php Datei

habe…

auch wenn ich von OXID komme, ich bin nicht so gut mit Code…

---

<div class="post-metadata">

### Author: ![MichaelH74](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michaelh74/32/10014_2.png) [@MichaelH74](https://forum.shopware.com/u/MichaelH74)
#### Post date: [2. Mai 2024 um 13:46 UTC](https://forum.shopware.com/t/probleme-bei-erste-mal-shopware-installation/103910/6 "2024-05-02T13:46:47Z")

</div>

In Shopware gibt es keine config.php.  
Dort sind diese Daten in der „.env“. Such mal nach dotenv in der Websuche deiner Wahl. Dann bekommst du dazu sicher weitere Infos.

Gewisse Grundkenntnisse sind für die Shopware Installation zwingend nötig, sonst das leider eher nichts.
