https://jingyan.baidu.com/album/2c8c281d7add5a0009252a56.html?picindex=7
一、将data目录删除
执行mysqld --initialize-insecure
二、执行net mysql start
三、执行mysql -u root -p 无密码
见 https://blog.csdn.net/u013901768/article/details/80707307
update user set authentication_string=password("123456") where user="root";
原文:https://www.cnblogs.com/god1/p/12336705.html