phpmyadmin 로그인 오류시 해결방법

gogowonji·2021년 10월 14일
0
post-thumbnail

Connect Error: SQLSTATE[HY000][2054] The server requested authentication method unknown to the client

Warning: mysqli_connect(): The server requested authentication method unknown to the client [caching_sha2_password]

이러한 오류가 떠서 고전중이었는데

https://stackoverflow.com/questions/52364415/php-with-mysql-8-0-error-the-server-requested-authentication-method-unknown-to

구글링 중 스택오버플로우에서 해결방법을 찾게 되었다.
sql 실행후에 적혀있는대로 수행해주니 바로 로그인이 된다.

이유는 sql 플러그인 때문이라는데
루트 사용자로 사용하지 않고 응용 프로그램 사용자로 바꾸어주는 명령어라고 한다..
정확한건 더 찾아봐야 할듯...

profile
개발자를 할까 말까

0개의 댓글