Contents

?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

MacOS 에서 MySQL 5.7.20 버전에서..

패스워드를 초기화 했는데 이후 로그인 해도 데이터베이스와 테이블이 보이지 않고 모든 쿼리문 결과로 이런 오류가 남.

[mysql] ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.


패스워드를 리셋하라는 건데.. (패스워드 변경)

'use mysql' 명령도 안되고 'show database', 'show tables' 명령도 모두 저런 오류만 출력됨.


스택오버플로우에 검색해보니 이렇게 해서 패스워드를 초기화 하면 된다고 함.

mysql> SET PASSWORD = PASSWORD('your_new_password');


이후 다른 명령이나 쿼리들이 정상적으로 실행 됨.



?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
1149 System/OS [mac] VirtualBox 실행 스크립트와 bash_profile 설정 file hooni 2020.07.08 925
1148 System/OS [linux] wget 명령 사용 예제 hooni 2020.05.26 1412
1147 System/OS [linux] The Ultimate Wget Download Guide With 15 Awesome Examples hooni 2020.05.26 777
1146 Develop [sh] 쉘스크립트 if 비교 연산 hooni 2020.05.26 58974
1145 Develop [sh] html 안에 있는 img 다운 받는 쉘 스크립트 file hooni 2020.05.26 621
1144 Develop [ios] Start developing your navigation app for CarPlay without enrollment file hooni 2020.02.22 124544
1143 System/OS Configure Postfix to Use Gmail SMTP on Ubuntu 18.04 file hooni 2020.02.07 1226
1142 System/OS RPA란? 어디에 어떻게 쓰이고 누가 만드나? file hooni 2020.01.28 1338
1141 Develop [php] 3 Ways to Detect Mobile or Desktop in PHP file hooni 2020.01.28 3704
1140 Develop 자주 쓰는 Docker 명령어 alias hooni 2020.01.10 268397
1139 Develop [python][django] request.cookie 읽어오기 ㅋㅋㅋ (쓰기) hooni 2019.12.06 1671
1138 System/OS SSH Passwordless Login Using SSH Keygen in 5 Easy Steps file hooni 2019.11.22 1374
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 98 Next
/ 98