Can't find messagefile '/usr/local/mysql/share/errmsg.sys'

时间:2022-09-17 08:53:27

当使用二进制安装mysql ,mariadb等数据库时,启动时报错

Can't find messagefile '/usr/local/mysql/share/errmsg.sys'

如果二进制安装目录 不是 /usr/local/mysql 就会报些错误


需要在配制文件 中添加配制项目

比如我的安装目录 为/usr/local/mysqldb 

则需要添加的如下行

language = /usr/local/mysqldb/share/english