- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 Docker php74连接mysql8.0没有问题,php7.1连不上
从php7.4切换到7.1.21后,发现连接不上mysql. 修改了密码验证方式后也不行,alter user 'root'@'%' identified with mysql_native_password by 'root'; 在/etc/mysql/my.cnf 中加入这个配置,就可以了 default_authentication_plugin=mysql_native_password ...
2021-07-20 15:02:39 79
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人