mysqld --initialize-insecure --user=mysql报错

雨点打透心脏的1/2处 2023-09-28 19:44 223阅读 0赞

报错内容: mysqld: Could not create or access the registry key needed for the MySQL application to log to the Windows EventLog. Run the application with sufficient privileges once to create the key, add the key manually, or turn off logging for that application.
在这里插入图片描述
解决办法: 用管理员的身份打开cmd,然后再输入该命令即可成功。
成功运行:
在这里插入图片描述
在这里插入图片描述

发表评论

表情:
评论列表 (有 0 条评论,223人围观)

还没有评论,来说两句吧...

相关阅读