Connect to MySQL on Vagrant instance with Sequel Pro

前端 未结 10 1577
囚心锁ツ
囚心锁ツ 2021-02-02 18:03

I am running Laravel on Vagrant and I am trying to connect Sequel Pro.

I have just started using Vagrant, I have followed a few tutorials on connecting to Sequel Pro how

10条回答
  •  一生所求
    2021-02-02 18:57

    One can use vagrant port to check the current port forwarding (in case one has several vagrant boxes).

    Also if the case is more than one vagrant box the issue could be that a new ssh key must be added to the host's .ssh/known_hosts by:

    1. commenting the first vagrant box host in the host's .ssh/known_hosts;

    2. adding the second vagrant box host through the Sequel Pro test connection dialog;

    3. uncommenting the first vagrant box host in the host's .ssh/known_hosts.

    So both vagrant boxes (each one with it's own key) are now known.

提交回复
热议问题