php mysqli_connect: authentication method unknown to the client [caching_sha2_password]

前端 未结 11 2402
遥遥无期
遥遥无期 2020-11-22 03:40

I am using php mysqli_connect for login to a MySQL database (all on localhost)



        
11条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-22 04:04

    Now you can upgrade to PHP7.4 and MySQL will go with caching_sha2_password by default, so default MySQL installation will work with mysqli_connect No configuration required.

提交回复
热议问题