• Mysql 5.7 root 비번 변경

    Mysql 5.6 에 비해 Mysql 5.7은 비번변경 방법이 조금 바뀜. 먼저 서버 스타트 (필자의 환경은 맥에 brew로 설치한 경우) mysql.server start 기존 비번으로 로그인 (없을 경우 그냥 mysql -u root) mysql -u root -p mysql 데이터베이스에 root 유저 비번 변경 후 권한 flush use mysql; update user set authentication_string=password('YOURSUPERSECRETPASSWORD') where ...

    Read More