# The options 'driver' or 'driverClass' are mandatory if no PDO instance is given to DriverManager::ge

**URL:** https://forum.shopware.com/t/the-options-driver-or-driverclass-are-mandatory-if-no-pdo-instance-is-given-to-drivermanager-ge/66505
**Category:** Allgemein
**Created:** [25. April 2020 um 13:58 UTC](https://forum.shopware.com/t/the-options-driver-or-driverclass-are-mandatory-if-no-pdo-instance-is-given-to-drivermanager-ge/66505 "2020-04-25T13:58:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![AMSPO24online](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/amspo24online/32/7865_2.png) [@AMSPO24online](https://forum.shopware.com/u/AMSPO24online)
#### Post date: [25. April 2020 um 13:58 UTC](https://forum.shopware.com/t/the-options-driver-or-driverclass-are-mandatory-if-no-pdo-instance-is-given-to-drivermanager-ge/66505/1 "2020-04-25T13:58:21Z")

</div>

Hallo,

wie finde ich diesen Fehler und wie begebe ich den?

&nbsp;

The options ‘driver’ or ‘driverClass’ are mandatory if no PDO instance is given to DriverManager::getConnection().

&nbsp;

MfG R. Amend

---

<div class="post-metadata">

### Author: ![parts4repair](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/parts4repair/32/13379_2.png) [@parts4repair](https://forum.shopware.com/u/parts4repair)
#### Post date: [6. Juni 2020 um 05:20 UTC](https://forum.shopware.com/t/the-options-driver-or-driverclass-are-mandatory-if-no-pdo-instance-is-given-to-drivermanager-ge/66505/2 "2020-06-06T05:20:17Z")

</div>

Hallo  
hast du den fehler beheben können?

---

<div class="post-metadata">

### Author: ![AMSPO24online](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/amspo24online/32/7865_2.png) [@AMSPO24online](https://forum.shopware.com/u/AMSPO24online)
#### Post date: [6. Juni 2020 um 07:30 UTC](https://forum.shopware.com/t/the-options-driver-or-driverclass-are-mandatory-if-no-pdo-instance-is-given-to-drivermanager-ge/66505/3 "2020-06-06T07:30:24Z")

</div>

Hallo,

ja, der Fehler ist nicht mehr da. Frage mich aber nicht, was der Fehler war und was ich gemacht habe. Es ist schon eine Zeit her, und ich denke, dass ich Shopware neu Installiert hatte.

&nbsp;

---

<div class="post-metadata">

### Author: ![artefakten](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@artefakten](https://forum.shopware.com/u/artefakten)
#### Post date: [28. Oktober 2020 um 14:23 UTC](https://forum.shopware.com/t/the-options-driver-or-driverclass-are-mandatory-if-no-pdo-instance-is-given-to-drivermanager-ge/66505/4 "2020-10-28T14:23:40Z")

</div>

Hatte vor kurzem den selben Fehler.

Lösung: es fehlte die Enviroment-Datei (_.env_) im Root
