-
MySQL 계정 비밀번호 변경하는 방법개발/SQL 2023. 5. 27. 12:19
# 계정 정보 조회
# 비밀번호 변경
Version SQL 8.x 이상 alter user '계정명'@'호스트' identified with 플러그인 by '비밀번호' 5.7 이상 update user set authentication_string=password('비밀번호') where user = '계정명' 5.6 이하 update user set password=password('비밀번호') where user = '계정명' # 변경사항 적용
'개발 > SQL' 카테고리의 다른 글
MySQL 외부 접속 허용하는 방법(for version .8.x) (0) 2023.05.24 [SQL] DML, DDL, DCL (0) 2023.04.20 /* Public Key Retrieval is not allowed */ (0) 2023.04.17 MySQL 설치 방법 (0) 2023.04.12 [SQL] 샘플 데이터베이스 (0) 2023.04.11