ERROR 1820 (HY000) : You must SET PASSWORD before executing this statement
by 2hansoul 2021. 6. 16. 19:38
DB사용 하려고 할 때 이런 오류가 발생 한다면
일단 password 바꾸고 데이터베이스에 접속 한다 위에 패스워드는 자신이 원하는걸 입력하면 됩니다
저는 1234로 설정했어요
update user set authentication_string=password('pass')where user='user';
이렇게 입력 하고 나갔다가 다시 로그인 해보자 정상적으로 구동 된다
Centos7 MariaDB yum 설치
2021.06.28
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
2021.06.18
2021.06.16
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
2021.06.15
댓글 영역