代码之家  ›  专栏  ›  技术社区  ›  noobmaster69

Sequel Pro关闭Laravel Homestead SSH会话

  •  2
  • noobmaster69  · 技术社区  · 9 年前

    自从升级到最新版本的Laravel Homestead(v0.4.0)后,我遇到了一个奇怪的问题,当我尝试登录Sequel Pro时,它会断开我的Homested 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/

    1 回复  |  直到 9 年前
        1
  •  4
  •   noobmaster69    9 年前

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

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

    其中192.168.10.10是我的流浪箱的IP地址。

    看来是新的宅基地更新( v0.4.0 )渲染了我以前的设置,没有用。

    推荐文章