剛開始我是裝的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, mysqli_error() expects exactly 1 parameter, mysqli_error() expects exactly 1 parameter, mysqli#00000 : mysqli_connect(): The server requested