I can not create a connection to a MySQL database in a vagrant machine with PhpStorm.
My settings are:
DATABASE tab:
- Host: 127.0.0.1
- Port: 3306
- User: root
- Password: root_passsword
SSH/SSL tab:
- Proxy host: 192.168.56.102
- Port: 22
- Proxy user: vagrant
- Proxy password: vagrant
Can someone help me? Thanks
In SSH/SSL tab, select
Auth type Key pair
, then copy the path to private key file define inIdentityFile
. For instanceC:/virtualM/deb56/puphpet/files/dot/ssh/id_rsa