shell$ sudo mysql -u root[mysql] use mysql;[mysql] update user set plugin='' where User='root';[mysql] flush privileges;[mysql] quit