Sequel Pro关闭Laravel Homestead SSH会话



自从升级到最新版本的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

值得参考的是,我在这里根据这篇帖子设置了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是我的流浪箱的IP地址。

新的Homestead更新(v0.4.0)似乎让我以前的设置变得毫无用处。

最新更新