mysql 8.0 password reset
·
백엔드
mysql 8.0 password 초기화 1. mysql 서비스 종료 (mac) brew services stop mysql (linux) sudo systemctl stop mysqld 2. skip-grant-tables 옵션을 통해 데몬 시작 mysqld --console --skip-grant-tables 3. 비밀번호 초기화 (비밀번호 null 로 설정) mysql> update mysql.user set authentication_string=null where user='root'; mysql> flush privileges; 4. 데몬 종료 (ctrl +c) 5. mysql 서비스 시작 (mac) brew services start mysql (linux) sudo systemctl sta..