mysql> use mysql; mysql> UPDATE user SET Password = PASSWORD('root') WHERE user = 'root'; mysql> FLUSH PRIVILEGES;