[英]Sequel Pro closes Laravel Homestead SSH session
自從升級到最新版本的Laravel Homestead(v0.4.0)以來,我遇到了一個奇怪的問題:當我嘗試登錄Sequel Pro時,它將斷開我的Homestead SSH的連接,並且除非讓我vagrant suspend
,否則我不會回去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
)似乎使我以前的設置無效。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.