SSH TO DATABASE Inside Vagrant box FROM PHP Storm

I'm using vagrant xenial box with my PHP project, and i want to connect to database to that vagrant box, on MySQL workbench i configured like this,

 

and works in SQL workbench, but in PHP strom i can't find an option as below;

CAn anyone guide me how to connect in this scenario?

 

 

4 comments
Comment actions Permalink

Could you please also show a screenshot of the General tab?
Also, please collect and upload somewhere the IDE log after a connection attempt.

0
Comment actions Permalink

 

 

 

 

 

 

 

0
Comment actions Permalink

Please change host to 127.0.0.1 there

0
Comment actions Permalink

Yes, works, what a silly mistake...

0

Please sign in to leave a comment.