1,使用xshell连接 ls是查看不到.env文件的 所以需要使用 ls -a 对比如图: 2,打开.env文件编辑 vim .env 去除debug调试,修改数据库信息等
ls
ls -a
vim .env