⚙️백엔드/MySQL
MySQL - ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded: 지정된 모듈을 찾을 수 없습니다. Library path is 'caching_sha2_password.dll'
Janger
2024. 5. 5. 00:00
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