# Shopware 6 Dev Installation VM (nach Anleitung) FAIL

**URL:** <https://forum.shopware.com/t/shopware-6-dev-installation-vm-nach-anleitung-fail/88790>\
**Category:** Shopware 6 (German)\
**Created:** [2. Juli 2021 um 16:46 UTC](https://forum.shopware.com/t/shopware-6-dev-installation-vm-nach-anleitung-fail/88790 "2021-07-02T16:46:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![WebDev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/webdev/32/14917_2.png) [@WebDev](https://forum.shopware.com/u/WebDev)\
**Post date:** [2. Juli 2021 um 16:46 UTC](https://forum.shopware.com/t/shopware-6-dev-installation-vm-nach-anleitung-fail/88790/1 "2021-07-02T16:46:59Z")

</div>

Moin Zusammen,

ich möchte endlich mal Zuhause mir eine Dev Umgebung schaffen zum Plugins weiterentwickeln und Themes.

Leider bin ich zwar anscheinend „schlau genug“ Plugins und Themes zu kreeiren - allerdings scheitere ich nun zum 500x mal an der Installation…

Ich bin exakt der Anleitung hier gefolgt :  
[https://docs.shopware.com/en/shopware-6-en/tutorials-and-faq/virtual-box-setup](https://docs.shopware.com/en/shopware-6-en/tutorials-and-faq/virtual-box-setup)

bei bin/setup scheitert es dann an;  
In setup line 106:  
could not find driver

HELP 🙂

---

<div class="post-metadata">

**Author:** ![appello](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/appello/32/14032_2.png) [@appello](https://forum.shopware.com/u/appello)\
**Post date:** [2. Juli 2021 um 18:34 UTC](https://forum.shopware.com/t/shopware-6-dev-installation-vm-nach-anleitung-fail/88790/2 "2021-07-02T18:34:44Z")

</div>

Mit “driver” ist in diesem Fall ein Datenbank-Connector gemeint.  
Bitte überprüfe mal, ob der Connector auch installiert ist.

Diesen Befehl in der Shell eingeben:

```auto
$ php -m | grep -E “mysql|pdo”

```

Wirft der Befehl mysql oder mysqli aus ist der Connector installiert.  
Andernfalls mit `apt-get install php-mysql ` nachinstallieren. Ansonsten wird’s knifflig.

Alternativ kann Shopware aber auch ohne VM mit XAMP/MAMP und ähnlichem lokal installiert werden.

---

<div class="post-metadata">

**Author:** ![WebDev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/webdev/32/14917_2.png) [@WebDev](https://forum.shopware.com/u/WebDev)\
**Post date:** [3. Juli 2021 um 19:00 UTC](https://forum.shopware.com/t/shopware-6-dev-installation-vm-nach-anleitung-fail/88790/3 "2021-07-03T19:00:02Z")

</div>

@appello

Okay das hat schon einmal geholfen \>  
sudo apt-get install php-mysql

Jetzt habe ich das gleiche Problem wie „immer“ =

**(20/42) Starting**  
**\> mysql -u ‚benutzer‘ -p’shopware’ -h ‚localhost‘ --port=‚3306‘ -e „DROP DATABASE IF EXISTS `shopware_test`“**  
\*\* ERROR 1044 (42000) at line 1: Access denied for user ‚benutzer‘@‚localhost‘ to database ‚shopware\_test‘\*\*

## **Execution aborted, a subcommand failed!**

Ich habe zwar Rechte für die Datenbank \> shopware

allerdings keine rechte für die shopware\_test die Shopware anlegen will (bzw. löschen will - whatever) - wie kann ich denn einen Benutzer die Rechte auf nicht existierende Datenbanken erteilen 😕 ?

---

<div class="post-metadata">

**Author:** ![WebDev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/webdev/32/14917_2.png) [@WebDev](https://forum.shopware.com/u/WebDev)\
**Post date:** [3. Juli 2021 um 19:19 UTC](https://forum.shopware.com/t/shopware-6-dev-installation-vm-nach-anleitung-fail/88790/4 "2021-07-03T19:19:57Z")

</div>

[[MARIADB UBUNTU INSTALL]]  
sudo apt update  
sudo apt install mariadb-server  
sudo mysql\_secure\_installation  
sudo mysql  
CREATE USER ‚benutzer‘@‚localhost‘ identified by ‚shopware‘;  
grant all privileges on _._ to ‚benutzer‘@‚localhost‘;  
flush privileges;  
exit

habs \<3 DANKE! =)
