Can't find error-message file 'D:\workspace oftwareInstall\mysql-8.0.30-winx64\share\errmsg.sys'. Check error-message file location and 'lc-messages-dir' configuration directive!!错误
安装mysql,进行到
mysqld --initialize --console时,一直报错
反复查看my.ini文件的配置,觉得配置的没问题

最终发现 D:\workspace\softwareInstall\mysql-8.0.30-winx64的单斜杠 需要改为D:\\workspace\\softwareInstall\\mysql-8.0.30-winx64
单斜杠 mysql 找不到相关路径
最终初始化成功