关于 重新安装 Homestead 后无法连接数据库
homestead 突然崩了,重装了之后连接数据库,提示
The server key has changed. Either you are under attack or the administrator changed the key. New server key hash: bb:37:89:30:ac:b9:38:1e:7a:bb:25:92:2f:c0:74:2e:de:a8:0f:b6
- 解决办法
// 我的虚拟机 IP 地址是 192.168.3.91 请换成你的 IP 运行 ssh-keygen -R 192.168.3.91 # Host 192.168.3.91 found: line 14 /Users/lkt/.ssh/known_hosts updated. Original contents retained as /Users/lkt/.ssh/known_hosts.old 然后重新连接就可以了
本作品采用《CC 协议》,转载必须注明作者和本文链接
推荐文章: