인프런 커뮤니티 질문&답변
mysql_secure_installation
작성
·
236
0
저거 하고나서 비밀번호 설정했는데, 왜 나중에 access denied가 되는 건가요?
실제로 mysql에서 mysql database에 user 검색해보면 비밀번호 부분이 비어있거든요..
이 프로그램(mysql_secure_installation) 에서 설정해주는게 validate_password라는데 공식문서에 아래와 같이 적혀있습니다.
이게 mysql 의 root 계정설정이 아니라 plugin이 사용될지 안될지 check할때 쓰는건가요.. 도대체 뭔 말인지 모르겠네요
The validate_password component can be used for password strength checking. If the plugin is not installed, mysql_secure_installation prompts the user whether to install it. Any passwords entered later are checked using the plugin if it is enabled.
답변 1
1
제로초(조현영)
지식공유자
mysql 설치하실 때 root로 설치하셨나요? 아니면 ubuntu로 설치하셨나요?
mysql에서 user를 검색했을 때 plugin이 unix_socket이거나 하면 비밀번호가 무용지물이 됩니다. 그래서 나중에 제가 mysql_native_password로 plugin을 바꿔줍니다.




