# Fehler bei theme:create

**URL:** <https://forum.shopware.com/t/fehler-bei-theme-create/71799>\
**Category:** Themes & Design\
**Created:** [30. Dezember 2020 um 17:32 UTC](https://forum.shopware.com/t/fehler-bei-theme-create/71799 "2020-12-30T17:32:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steel\_Gene](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@steel\_Gene](https://forum.shopware.com/u/steel_Gene)\
**Post date:** [30. Dezember 2020 um 17:32 UTC](https://forum.shopware.com/t/fehler-bei-theme-create/71799/1 "2020-12-30T17:32:03Z")

</div>

Hallo,

ich bekomme folgenden Fehler, wenn ich über ssh über folgendem Befehl ein neues Theme erstellen möchte:&nbsp; **php bin/console theme:create**

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/9129cfd697caa5554b04a1e7cf5035009ff2b447.png)  
&nbsp;

An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;

In PDOConnection.php line 31:  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
&nbsp; SQLSTATE[HY000] [2002] Connection refused &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

In PDOConnection.php line 27:  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
&nbsp; SQLSTATE[HY000] [2002] Connection refused &nbsp;

&nbsp;

Kann mir hier jemand helfen? Serverhost ist Alfahosting.  
GIbt es eventuell ein Workaround, ein Theme nicht darüber zu erstellen?

LG

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
