首页 >社区问答列表 >PHP 7.3.7 mysql8.0.17 连接不上

PHP 7.3.7 mysql8.0.17 连接不上

刚开始我是装的PhP7.1 mysql8.0.17  就是连不上,看了好多说是升级PHP版本就好了。然后就是这样了,试了好多方法还是不信

提示

PHP Warning:  mysqli_connect(): The server requested authentication method unknown to the client [caching_sha2_password] in

PHP Warning:  mysqli_connect(): (HY000/2054): The server requested authentication method unknown to the client in

PHP Warning:  mysqli_error() expects exactly 1 parameter, 0 given in

Warning: mysqli_connect(): The server requested authentication method unknown to the client [caching_sha2_password] in

Warning: mysqli_connect(): (HY000/2054): The server requested authentication method unknown to the client in