I am new to programming, and do not have much idea about ports/forwarding/connection etc.

> 
> Installed Vagrant, MySQL Workbench, and Cygwin on Windows 8.1, then
>  Puphpet on Cygwin and created Virtual Machine, for learning.
> 
> 
> 

But, **unable to connect to MySQL on Virtual Machine** (MySQL Server is on, on Virtual Machine) **from Workbench in Windows**.

I did not do any change in *vagrantfile* or *config.yaml*.

Tried Out:

* Changed to `bind-address = 0.0.0.0` in *my.conf*, but no use.
* Commented out `# bind-address = 127.0.0.1` in *my.conf*, again 
no use.

> 
> Note: (I **DELETED id\_rsa file** when it was not properly doing vagrant up
>  second time. So, gave full path to **id\_rsa.ppk**, for connecting)
> 
> 
> 

Connection Method: Standard (TCP/IP over SSH)
Parameters: 

```
Hostname:     192.168.56.101:8957
SSH Username: vagrant
SSH Password: vagrant
SSH Key File: c:\cygwin64\home\tomy\puphpet\sutfva\puphpet\files\dot\ssh\id_rsa.ppk
MySQl Hostname: 127.0.0.1
Port:         3306
Username:     dbuser
Password:     123

```

Error message: 

> 
> IO Error [Errno 10061] No Connection could be made because the target
>  machine actively refused it. Please refer to logs for details
> 
> 
> 

The answer at [Vagrant MySQL Access](https://stackoverflow.com/questions/22750174/vagrant-mysql-access) is not clear to me. How to configure port forwarding?

Can you please guide me in simple words, how I can establish connection? Also, how to disconnect, and any security issue.