Using password :no 면 비번을 입력을 안했다는 건데 yes 뜨면 조금 다르다
/var/log/mysql.log
체크 해논곳이 비빌번호이다 mysql -u root -p 로 입력하고 들어간다
DB사용 하려고 할 때 이런 오류가 발생 한다면
일단 password 바꾸고 데이터베이스에 접속 한다
update user set authentication_string=password('pass')where user='user';
이렇게 입력 하고 나갔다가 다시 로그인 해보자 정상적으로 구동 된다
mariadb 컴파일 설치 Centos7 (0) | 2021.06.29 |
---|---|
Centos7 MariaDB yum 설치 (0) | 2021.06.28 |
ERROR 1820 (HY000) : You must SET PASSWORD before executing this statement (0) | 2021.06.16 |
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) (0) | 2021.06.16 |
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) (0) | 2021.06.15 |
댓글 영역