MySQL Forums
Forum List  »  Install & Repo

MySQL 8.0 - Client does not support authentication protocol requested by server
Posted by: Charles Finkenbiner
Date: June 05, 2020 08:09PM

Hi All,

I just did a new install of MySQL 8.0.20. I did have a issue so I posted that question in the Workbench forum.

The question I have here is that the 1st time I tried to log in as root I got the above error message. I was using a PHP script at the time (it creates the database, users, tables and loads data). I have to use root for this. So, I did some web searching and came up with this answer. It did work.

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
flush privileges;

Have I caused myself problems by doing this?


Thanks for any help,

Charles

Options: ReplyQuote


Subject
Written By
Posted
MySQL 8.0 - Client does not support authentication protocol requested by server
June 05, 2020 08:09PM


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.