# MySql Connection schlägt fehl (Vagrant)

**URL:** https://forum.shopware.com/t/mysql-connection-schlagt-fehl-vagrant/63938
**Category:** Installation / Einstieg
**Created:** [11. Januar 2020 um 09:20 UTC](https://forum.shopware.com/t/mysql-connection-schlagt-fehl-vagrant/63938 "2020-01-11T09:20:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rammi22](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rammi22](https://forum.shopware.com/u/rammi22)
#### Post date: [11. Januar 2020 um 09:20 UTC](https://forum.shopware.com/t/mysql-connection-schlagt-fehl-vagrant/63938/1 "2020-01-11T09:20:14Z")

</div>

Hallo,

ich versuche mich via MySql-Workbench als Client mit der Datenbank in der VM, erstellt mit Vagrant zu verbinden.

Installiert SW6 in VM (VBox6) mit Vagrant

SSH  
user: vagrant  
passwd: vagrant

MySql  
user: app  
passwd: app

Über die Konsole kann ich mich anmelden:

```
rammi@rammi22 MINGW64 /g/PROJECTS/MODULES/shopware-platform-vagrant (master)
$ vagrant ssh
Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-74-generic x86_64)

...

vagrant@shopware:~$ mysql -u app -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 322
Server version: 5.7.28-0ubuntu0.18.04.4 (Ubuntu)

Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

```

Dieselben Zugangs-Daten in Workbench gibt einen Fehler…

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/d/dd6818ce9c1ba3547277a16d3e150d834a8ef3b8.png)

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/c/c4725c9a3bf4ae7bcaa7d2161e3c974df03d7576.png)

&nbsp; Wie muss ich Workbench konfigurieren um aiuf die DB zugreifen zu können?

---

<div class="post-metadata">

### Author: ![rammi22](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rammi22](https://forum.shopware.com/u/rammi22)
#### Post date: [11. Januar 2020 um 09:35 UTC](https://forum.shopware.com/t/mysql-connection-schlagt-fehl-vagrant/63938/2 "2020-01-11T09:35:21Z")

</div>

Ok, hat sich erledigt, ich habe den Server nochmal gestartet, oh Wunder, jetzt geht es. Warum, ich weiß es nicht…

```
vagrant@shopware:~$ sudo systemctl restart mysql

```

&nbsp;
