This gist shows how to connect to your vagrant MySQL database from the host machine.
- Connect to vagrant using
vagrant ssh
- Edit file
/etc/mysql/my.cnf
:- Change parameter
bind-address
to0.0.0.0
to allow all incoming connection attempts
- Change parameter