메뉴 건너뛰기

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 으로 되어 있는 듯 하다.

 

    • 글자 크기
[linux] 용량 확보하기 (by suritam9) [구글] 세이프 브라우징에서 사기성 사이트 문제 해결 (by suritam9)

댓글 달기

lispro06
2018.02.18 조회 803
lispro06
2018.04.29 조회 199
suritam9
2021.01.02 조회 130
suritam9
2022.07.10 조회 78
suritam9
2022.10.26 조회 22
이전 1 ... 2 3 4 5 6 7 8 9 10 11다음
첨부 (0)
위로