mysql>use mysql mysql>update user set password_expired='N' where user='root'; mysql>flush privileges; mysql>quit