参考 https://www.cnblogs.com/wangjiming/p/10363357.html
net stop mysql
mysqld --console --skip-grant-tables --shared-memory
执行
mysql -u root
依次执行
flush privileges;--刷新权限 alter user root@localhost identified by '000000'--修改密码