Trying to connect to local Mysqli DB.
Database Connection:
<?php $con= new mysqli("localhost","Kobe24","Kobei987","Bkn_Data");
if ($con->connect_error) {
die("Connection failed: " . $con->connect_error);
}
Returns this:
Warning: mysqli::__construct(): (HY000/2054): The server requested authentication method unknown to the client in C:\Apache24\htdocs\poc\practice_project\database_connection.php on line 1
Connection failed: The server requested authentication method unknown to the client
Any feedback would help. Been researching this problem but no definitive solutions.