PHPStorm Database support for Homestead

 In Homestead, Laravel, PHPStorm, Tutorial

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!


Recent Posts

Leave a Comment


We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search

Laravel 5.5