LInux下部署lnmp环境,mysql8.0连接的坑,php7.4废弃函数
最近在公司搭建了一套lnmp环境,遇到的一些问题,分享一下。
采用lnmp一键安装包(地址:https://lnmp.org/faq/lnmp-software-list.html)的形势,安装了最新的php7.4,mysql8.0 版本
坑一:mysql8.0
1、Authentication type:
用户的 Authentication type 默认为 caching_sha2_password,导致数据库连接错误,抛出如下异常:
Illuminate\Database\QueryExce.
原创
2020-07-01 20:19:35 ·
1118 阅读 ·
0 评论