Step-by-step guide @http://www.bentedder.com/using-mysql-workbench-with-vagrant/
- Within your project directory type
vagrant ssh-configin the command line. - This will give you a few things you'll need.
User: (most likely vagrant)
IdentityFile (the path to the private key that MySQL workbench will need)
- Connection Method: Standard TCIP/IP over SSH
- SSH Hostname: 127.0.0.1:2222
- SSH Username: vagrant (from your ssh-config above)
- SSH Password: leave this alone
- SSH Key File: Use the IdentityFile path from above. I tried copy/pasting it, but found that I had to actually browse to the file for it to work correctly. Probably user error.
- MySQL Hostname: 127.0.0.1
- MySQL Port: 3306
- Username: whatever username you usually use
- Password: the password for the db