Re: Can't Start MySQL Server from PHP

From: Luuk <luuk_at_invalid.lan>
Date: Mon, 25 Jun 2018 07:58:25 +0200
Message-ID: <5b308460$0$2950$e4fe514c_at_news.xs4all.nl>


On 25-6-2018 06:03, Thomas 'PointedEars' Lahn wrote:
> Joseph Hesse wrote:
>

>> I am running MySQL 8.011 and PHP 7.2.6 on Fedora 28 Linux.
>>
>> I tried PHP to connect to the server with the usual command:
>>
>> $conn = _at_mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME) OR
>> die('Could not connect to MySQL: ' . mysqli_connect_error() );
>>
>> and got the error message:
>>
>> "Could not connect to MySQL: The server requested authentication method
>> unknown to the client" […]

>
> Google for the function identifier, and the error message in double quotes.
>
> Next time, do that before you post.
>

https://stackoverflow.com/questions/50026939/php-mysqli-connect-authentication-method-unknown-to-the-client-caching-sha2-pa

? Received on Mon Jun 25 2018 - 07:58:25 CEST

Original text of this message