- MySQL 5.7 update after my.conf mysql8 mysql user 비밀번호 변경 # install default `sudo mysql` login ALTER USER 'root'@'localhost' IDENTIFIED WITH auth_socket BY 'password'; flush privileges; # `mysql -uroot -p` login ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; flush privileges; ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'password'; f..