== Windows 설치 환경

services.msc 에서 MySQL 서비스 중지

MySQL 설치 경로의 bin 폴더로 이동

다음 명령을 수행해 mysqld를 암호없이 인증하도록 수행

       mysqld --skip-grant-tables 

root계정을 암호 없이 로그인

use mysql;

update user set authentication_string=password('암호입력') where user='root';

flush privileges;

quit


mysqld 수행한 창을 닫고 services.msc 에서 정식으로 mysql서비스 다시 수행



AND