본문 바로가기
카테고리 없음

[Database] caching_sha2_password 오류

by 321 2021. 6. 6.

 

root계정에 password비밀번호로 접속했을 때 

mysql command line client 나 cmd에서 mysql/bin폴더에서 로그인 후에 아래 sql문 입력한다.

alter 'root'@'localhost' identified with mysql_native_password by 'password';

'작은따옴표' 잘보고 붙여주기