报错截图:
解决办法:
这是由于权限不够,退出cmd,以管理员的身份重新打开cmd界面,然后重新输入指令:mysqld --initialize-insecure --user=mysql,即可完成操作。

更多推荐

mysqld: Could not create or access the registry key needed for the MySQL applica