net stop mysql
[mysqld] skip-grant-tables
net start mysql
update mysql.user set authentication_string=password('123456') where user='root' and Host = 'localhost'; flush privileges; grant all privileges on *.* to root@'localhost' identified by "123456";