메뉴 건너뛰기

infra

[mysql] mysqld Ver 5.7.32-0ubuntu0.18.04.1 for Linux on x86_64 ((Ubuntu))

suritam92021.01.10 13:44조회 수 49댓글 0

    • 글자 크기

aws 에서 ubuntu 용 mysql 을 apt-get으로 설치하고 나서 기존 방식으로 패스워드 초기화가 안되는 경우 아래와 같이 해결한다.

 

# systemctl stop mysql

# sudo /usr/bin/mysqld_safe --skip-grant --skip-grant-tables &

# mysql -u root -p

[ENTER]

> UPDATE mysql.user set authentication_string=PASSWORD("패스워드"), password_expired='N', plugin='mysql_native_password' where User='root';

> FLUSH PRIVILEGES;

 

password 라는 컬럼이 없고, authentication_string 으로 되어 있는 듯 하다.

 

    • 글자 크기
[구글] 세이프 브라우징에서 사기성 사이트 문제 해결 (by suritam9) 웹캐시 파일, 생성 알고리즘.... (by 박영식)

댓글 달기

suritam9
2024.03.12 조회 0
suritam9
2024.03.11 조회 2
suritam9
2024.03.10 조회 0
suritam9
2022.10.26 조회 21
suritam9
2022.07.10 조회 71
첨부 (0)
위로