php mysqli_connect: authentication method unknown to the client [caching_sha2_password]
Posted: Fri Mar 20, 2020 9:15 pm
Hi,
I get the following error whe I tried to connect with php to MySQL server.
mysqli::__construct(): The server requested authentication method unknown to the client
How can I fix this?
I use standard login function:
$dbconn=new mysqli('127.0.0.1','user','passwd','database');
I get the following error whe I tried to connect with php to MySQL server.
mysqli::__construct(): The server requested authentication method unknown to the client
How can I fix this?
I use standard login function:
$dbconn=new mysqli('127.0.0.1','user','passwd','database');