sudo mysql
update user set plugin='' where User='root';
set password = password('비번입력');
flush privileges;