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-addressto0.0.0.0to allow all incoming connection attempts
 
- Change parameter