rgranadino / mage2_vagrant

Simple Magento 2 Vagrant Box
249 stars 68 forks source link

Cannot access database through Sequel Pro #51

Closed adampmoss closed 8 years ago

adampmoss commented 8 years ago

I seem to have a problem accessing the database with the box running. This is the error I get when trying to connect using Sequel Pro. Do you have any suggestions?

screen shot 2015-12-02 at 16 52 12
bencorlett commented 8 years ago

You might want to use the "SSH tunnel" option instead by providing the SSH details and then the corresponding MySQL details.

Otherwise, you'll need to setup port forwarding on the guest machine so that it's exposed by Vagrant. Honestly, I'd just SSH tunnel instead.

rgranadino commented 8 years ago

Agree with @bencorlett, SSH tunnel is the easiest route. Out of the box mysql is bound to 127.0.0.1 only. You can use "vagrant" for both the SSH username and password:

screen shot 2015-12-02 at 11 23 48 pm