# Docker Installation Error: caching\_sha2\_password could not be loaded

**URL:** https://forum.shopware.com/t/docker-installation-error-caching-sha2-password-could-not-be-loaded/70185
**Category:** Installation / Einstieg
**Created:** [13. Oktober 2020 um 13:57 UTC](https://forum.shopware.com/t/docker-installation-error-caching-sha2-password-could-not-be-loaded/70185 "2020-10-13T13:57:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![AlexGalax](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/alexgalax/32/9925_2.png) [@AlexGalax](https://forum.shopware.com/u/AlexGalax)
#### Post date: [13. Oktober 2020 um 13:57 UTC](https://forum.shopware.com/t/docker-installation-error-caching-sha2-password-could-not-be-loaded/70185/1 "2020-10-13T13:57:30Z")

</div>

Hallo,

ich habe das Docker Image inkl. aller Container installiert und es läuft. Wenn ich jetzt `./psh.phar install` aufrufe, bekomme ich folgenden Error:

```
> mysql -u 'app' -p'app' -h 'mysql' --port='3306' -e "DROP DATABASE IF EXISTS \`shopware\`"
        ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded: /usr/lib/x86_64-linux-gnu/mariadb19/plugin/caching_sha2_password.so
: cannot open shared object file: No such file or directory

Execution aborted, a subcommand failed!

```

Im Frontend wird folgender Error ausgegeben:

```
RuntimeException
HTTP 500 Internal Server Error
Could not connect to database. Message from SQL Server: An exception occurred in driver: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

```

Der MySql Container ist in Version 8 und im Shopware Container ist `mysql Ver 15.1 Distrib 10.3.23-MariaDB` installiert.

Wie bekomme ich die Authentifizierungsmethode kompatibel?

---

<div class="post-metadata">

### Author: ![AlexGalax](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/alexgalax/32/9925_2.png) [@AlexGalax](https://forum.shopware.com/u/AlexGalax)
#### Post date: [14. Oktober 2020 um 08:31 UTC](https://forum.shopware.com/t/docker-installation-error-caching-sha2-password-could-not-be-loaded/70185/2 "2020-10-14T08:31:08Z")

</div>

Alles nochmal gelöscht und neu gemacht, jetzt bekomme ich die Meldung

```
(4/38) Starting
> mysql -u 'app' -p'app' -h 'mysql' --port='3306' -e "DROP DATABASE IF EXISTS \`shopware\`"
        ERROR 2005 (HY000): Unknown MySQL server host 'mysql' (-2)

Execution aborted, a subcommand failed!

```

Man, der Mist nervt echt hart.

---

<div class="post-metadata">

### Author: ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)
#### Post date: [14. Oktober 2020 um 08:34 UTC](https://forum.shopware.com/t/docker-installation-error-caching-sha2-password-could-not-be-loaded/70185/3 "2020-10-14T08:34:09Z")

</div>

Schon mal mit dockware probiert?&nbsp;[https://dockware.io/](https://dockware.io/)

Viele Grüße  
[https://www.digitvision.de](https://www.digitvision.de)

---

<div class="post-metadata">

### Author: ![AlexGalax](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/alexgalax/32/9925_2.png) [@AlexGalax](https://forum.shopware.com/u/AlexGalax)
#### Post date: [14. Oktober 2020 um 10:59 UTC](https://forum.shopware.com/t/docker-installation-error-caching-sha2-password-could-not-be-loaded/70185/4 "2020-10-14T10:59:04Z")

</div>

Besten Dank, das sieht gut aus
