Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Accessing the database from outside the VM

Thomas Jarrand edited this page Nov 6, 2015 · 1 revision

Accessing the database from outside the VM:

In you favorite DB client, setup a connection through SSH with the following configuration:

SHH configuration:

Option Value
Host project.vendor.dev
Login vagrant
Password vagrant

Mysql configuration:

Option Value
Host localhost
Login root
Password

Troubleshooting 🔧

If the SSH connection won't work, look for error message in the logs provided by your client.

Host changed

If you get the following message:

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Your VM has probably been destroyed and rebuild, so the SSH host has changed. You need to edit your ~/.ssh/known_hosts file, look for a line starting with your host projet.vendor.dev and delete it.