본문 바로가기 메뉴 바로가기

ithappens

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

ithappens

검색하기 폼
  • This is all I can show you (67)
    • certificate (11)
      • ccna (1)
      • ccnp (4)
      • cka (6)
    • self training (41)
      • nw (10)
      • win (3)
      • lin (23)
      • fw (0)
      • sql (3)
      • CI,CD (1)
      • notion (1)
    • referance (2)
    • just notepad (11)
  • 방명록

centos 7 에서 mysql 8.0 패스워드 분실 시 root 패스워드 초기화

systemctl stop mysqld systemctl set-environment MYSQLD_OPTS="--skip-grant-tables" systemctl start mysqld mysql -u root -p UPDATE mysql.user SET authentication_string = null where user='root'; FLUSH PRIVILEGES; quit mysql -u root -p (no password) alter user 'root'@'localhost' identified with caching_sha2_password by '변경할비밀번호'; FLUSH PRIVILEGES; quit systemctl stop mysqld systemctl unset-enviro..

self training/lin 2024. 11. 14. 09:56
이전 1 다음
이전 다음
TAG
  • FNAT
  • 네트워크
  • cisco
  • Kubernetes
  • VLAN
  • Linux
  • 로드벨런서
  • chap
  • CentOS
  • CentOS7
more
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바