Sequel Pro 关闭 Laravel Homestead SSH 会话

Sequel Pro closes Laravel Homestead SSH session

自从升级到最新版本的 Laravel Homestead (v0.4.0),我遇到了一个奇怪的问题,当我尝试登录 Sequel Pro 时,它断开了我的连接Homestead SSH 并且不让我返回,除非我执行 vagrant suspend 后跟 vagrant up

它给我的错误信息是:

vagrant@homestead:~$ Connection to 127.0.0.1 closed by remote host.
Connection to 127.0.0.1 closed.

然后当我尝试通过 Sequel Pro 登录时,我收到以下错误消息:

Connection Failed!
Unable to connect to host 127.0.0.1, or the request timed out.

Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 10 seconds).

MySQL said: Can't connect to MySQL server on '127.0.0.1' (61)

我的 Sequel Pro 设置是:

Name: Homestead
Host: 127.0.0.1
Username: homestead
Password: secret
Port: 33060

值得参考我已经根据这个 post 在这里设置了 Sequel Pro:http://www.tannerhearne.com/using-sequel-pro-laravel-homestead/

我实际上通过使用以下 Sequel Pro 设置解决了这个问题:

Host: 192.168.10.10
Username: Homestead
Password: secret
Port: 3306

其中 192.168.10.10 是我的 vagrant box 的 IP 地址。

似乎新的 Homestead 更新 (v0.4.0) 使我之前的设置变得无用。