MySQL Forums
Forum List  »  PHP

Re: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
Posted by: Kennet Hafstedt
Date: June 13, 2019 04:41PM

Thanks, Peter

I've stumbled on this fix in my endless internet searches, but I don't know where to add the information, in what file. I'm talking about this:

ALTER USER 'forge'@'localhost'
IDENTIFIED WITH mysql_native_password BY 'new_password'

I guess it's not a change I make to the PHP code, to basic I guess :-) I've found some of the other files that must be edit during installation to be somewhat difficult to follow (newbie). I've just copied the installation procedure from the net without understanding all that much I must sadly admit :-|

Please direct me further so I don't have to keep on doing endless, painful, stupid tests with above code snippet...

Thanks
Kennet

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.