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]
이러한 오류가 떠서 고전중이었는데
구글링 중 스택오버플로우에서 해결방법을 찾게 되었다.
sql 실행후에 적혀있는대로 수행해주니 바로 로그인이 된다.
이유는 sql 플러그인 때문이라는데
루트 사용자로 사용하지 않고 응용 프로그램 사용자로 바꾸어주는 명령어라고 한다..
정확한건 더 찾아봐야 할듯...