728x90
반응형
해결 방법 1. WITH mysql_native_password 변경
ALTER USER '계정ID'@'localhost' IDENTIFIED WITH mysql_native_password BY '계정PW';
해결 방법 2. my.cnf 파일 수정
[mysqld]
default_authentication_plugin=mysql_native_password
해결 방법 3. 명령어 인수 추가
--default_authentication_plugin=mysql_native_password
출처:
https://ynzu-dev.tistory.com/entry/MySQL-Authentication-plugin-cachingsha2password-cannot-be-loaded
[MySQL] Authentication plugin 'caching_sha2_password' cannot be loaded
ODBC를 이용하여 MySQL에 접속하려고 했는데 아래와 같은 에러가 발생하였다. [unixODBC][ma-2.0.15]Plugin caching_sha2_password could not be loaded:/lib/plugin/caching_sha2_password.so: 동적 오브젝트 파일을 열 수 없습니
ynzu-dev.tistory.com
728x90
반응형
'⚙️백엔드 > MySQL' 카테고리의 다른 글
MySQL - 뷰(View) 테이블 생성 (0) | 2023.10.11 |
---|---|
MySQL - 데이터베이스 정보(host, user, db, table, column) 확인 (0) | 2023.10.11 |
MySQL - 도커에서 MySQL 서버에 접속이 안되는 경우[ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)] (0) | 2023.03.31 |
MySQL - 사용자 권한 부여(grant), 취소(revoke) (0) | 2023.02.24 |
MySQL - 외부 접속 허용하기 (0) | 2023.02.24 |