search

Home  >  Q&A  >  body text

PHP 7.3.7 mysql8.0.17 cannot connect

At first I installed PhP7.1 mysql8.0.17 but I couldn’t connect. I read a lot and said that it would be better to upgrade the PHP version. Then this is it, I tried many methods but still don’t believe it

Tips

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

!1946 days ago1218

reply all(3)I'll reply

  • 2019-08-01 19:44:02

    How did you solve it?

    reply
    0
  •         

            2019-08-01 18:37:01

    Why not use an integrated environment

    reply
    0
  • !

    It's fine, thank you,

    · 2019-08-01 18:38:37
  • Cancelreply