Client does not support authentication protocol requested by server;
Server/Problems 2019. 6. 28. 18:25Client does not support authentication protocol requested by server; consider upgrading MySQL Client
어제 MySQL을 설치하여 서버를 공부하던 중 위와 같은 오류가 떴다.
분명 최신버전으로 다 설치하고 시작을 한건데 저런 오류가 떠서 당황했다.
위는 서버에서 요청한 프로토콜이 클라이언트에서 지원하지않아서 뜨는 오류이다. (버전 호환문제?)
그래서 설치매니저를 이용하여 Reconfigure를 했는데도 똑같아서 StackOverflow에서 찾아봤다.
MySQL 8.x에서 나타나는 오류라고 하는데, 해결법을 찾아보고 적용해보고 해결한 방법은 아래와 같다.
위에 21번줄의 " alter user 'root'@'localhost' identified with mysql_native_password by '123456' " 구문이다.
위의 구문을 통해 password를 변경해보니 아주 잘 되었다.
자세한 이유는 조금 더 찾아보고 공부해야할 것 같다.
StackOverflow
GitHub
'Server > Problems' 카테고리의 다른 글
[ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client (0) | 2019.07.02 |
---|---|
MySQL undefined 오류 (0) | 2019.07.01 |