PHPStorm Database support for Homestead

Share on facebook
Share on twitter
Share on linkedin

We use Homestead as a Server for all our projects even for WordPress projects. PHPStorm  has a really nice Database connection feature. But to set it up with Homestead it took me a while so I want to share the trick.

Step 1

Just open the Database tab on the right side.

Step 2

Add with the plus sign Data Source -> MySql

Step 3

For the Settings I had to take the ip instead of localhost and use the forwarded Port (can be different on your system if you changed the default settings)

Step 4

Enjoy the nice Database support!

 

Share this post with your friends

Share on linkedin
Share on xing
Share on twitter
Share on facebook

Leave a Reply

avatar
  Subscribe  
Notify of