# Failed to load plugins. Message: An exception occurred in driver: SQLSTATE\[HY000\] \[2002\] php\_network\_getaddresses: getaddrinfo failed: Temporary failure in name resolution

**URL:** <https://forum.shopware.com/t/failed-to-load-plugins-message-an-exception-occurred-in-driver-sqlstate-hy000-2002-php-network-getaddresses-getaddrinfo-failed-temporary-failure-in-name-resolution/93091>\
**Category:** Shopware 6 (English)\
**Created:** [22. Februar 2022 um 13:33 UTC](https://forum.shopware.com/t/failed-to-load-plugins-message-an-exception-occurred-in-driver-sqlstate-hy000-2002-php-network-getaddresses-getaddrinfo-failed-temporary-failure-in-name-resolution/93091 "2022-02-22T13:33:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabrielr](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gabrielr](https://forum.shopware.com/u/gabrielr)\
**Post date:** [22. Februar 2022 um 13:33 UTC](https://forum.shopware.com/t/failed-to-load-plugins-message-an-exception-occurred-in-driver-sqlstate-hy000-2002-php-network-getaddresses-getaddrinfo-failed-temporary-failure-in-name-resolution/93091/1 "2022-02-22T13:33:53Z")

</div>

I try to create a db for my plugin and I have this. I have read that it is problems of the ip with docker but I don’t know exactly what file to touch

---

<div class="post-metadata">

**Author:** ![marco.steinhaeuser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/marco.steinhaeuser/32/14512_2.png) [@marco.steinhaeuser](https://forum.shopware.com/u/marco.steinhaeuser)\
**Post date:** [22. Februar 2022 um 13:54 UTC](https://forum.shopware.com/t/failed-to-load-plugins-message-an-exception-occurred-in-driver-sqlstate-hy000-2002-php-network-getaddresses-getaddrinfo-failed-temporary-failure-in-name-resolution/93091/2 "2022-02-22T13:54:15Z")

</div>

Don’t exactly know your environment nor what you try to do but I reckon the database server cannot be found for a much more simple reason such as localhost vs. mysql somewhere in a configuration. Maybe this is helpful as well: [mysql - SQLSTATE[HY000] [2002] php\_network\_getaddresses: getaddrinfo failed: Name or service not known - Stack Overflow](https://stackoverflow.com/questions/30182984/sqlstatehy000-2002-php-network-getaddresses-getaddrinfo-failed-name-or-ser)
