Connect to Host MySQL Server on Vagrant

ruby-on-rails, ruby-on-rails-4, vagrant

Solution

There are two thread one on stack overflow and another on superuser that might help you out with doing this. Links below.

How to connect with host PostgreSQL from vagrant virtualbox machine

https://superuser.com/questions/310697/connect-to-the-host-machine-from-a-virtualbox-guest-os/310745#310745

It is possible to do what you are trying to achieve if you get your settings correct.

Problem

It's possible to connect to the Host's MySQL Server inside a Vagrant box? I'm running a RoR vagrant box, but I need to connect to the host database server. Any help?

Original source

Related problems