Database
2017.12.15 05:50
[mysql] ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
조회 수 5914 댓글 0
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');
이후 다른 명령이나 쿼리들이 정상적으로 실행 됨.
TAG •
-
Read More
[php][laravel] 라라벨 개발환경 세팅하기 (Mac, Window)
-
Read More
[php][laravel] 라라벨 프로젝트 생성 및 구조
-
Read More
[php][laravel] 초간단 MacOS에서 Laravel 개발 환경 구축
-
Read More
[mysql] MacOS에 MySQL 설치, 설정, 암호 재설정
-
Read More
[mysql] ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
-
Read More
[js] 문자열에서 숫자만 걸러내기 (jQuery 안쓰고 정규표현식)
-
Read More
[js] URL 파싱하기 (jQuery 안쓰고)
-
Read More
[linux] 초간단 SquirrelMail 설치/설정 (다람쥐 메일)
-
Read More
[linux] 초간단 Postfix, Covecot, SSL/TLS (SMTP)
-
Read More
[php] Laravel 5.4: Specified key was too long error
-
Read More
[php] mysql_ 과 mysqli_ 의 차이
-
Read More
[mysql] MySQL 한글 깨짐 현상 해결하기(UTF8)