mariadb 二进制启动报错,Can't find messagefile '/usr/local/mysql/share/mysql/errmsg.sys'

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mariadb 二进制启动报错,Can't find messagefile '/usr/local/mysql/share/mysql/errmsg.sys'相关的知识,希望对你有一定的参考价值。


直接看操作步骤


[[email protected] share]# mysqld_safe --defaults-file=/etc/my.cnf &

[1] 3482

[[email protected] share]# 170103 18:48:58 mysqld_safe Logging to ‘/log/mysql/error.log‘.


[1]+  Done                    mysqld_safe --defaults-file=/etc/my.cnf

[[email protected] share]# vi /log/mysql/error.log 

............

2017-01-03 18:48:58 140215358961696 [ERROR] Can‘t find messagefile ‘/usr/local/mysql/share/mysql/errmsg.sys‘

2017-01-03 18:48:58 140215358961696 [ERROR] Aborting

............


[[email protected] share]# vi /etc/my.cnf


添加[mysqld]

language = /usr/local/mysql/share/english


[[email protected] english]# cd /usr/local/mysql/share/english

[[email protected] english]# file errmsg.sys 

errmsg.sys: data     --数据文件,可以不用看了


[[email protected] english]# mysqld_safe --defaults-file=/etc/my.cnf &

[1] 3725

[[email protected] english]# 170103 18:56:07 mysqld_safe Logging to ‘/log/mysql/error.log‘


以上是关于mariadb 二进制启动报错,Can't find messagefile '/usr/local/mysql/share/mysql/errmsg.sys'的主要内容,如果未能解决你的问题,请参考以下文章

mariadb远程不能访问,出现Can't connect to MySQL server on '' (10061)

systemd[1]: mariadb.service: Can't open PID file /data/mariadb/mysql/30-mariadb-1.pid (yet?) aft

修改mysql端口后重启mysql报错:Can't start server: Bind on TCP/IP port. Got error...n denied

tomcat启动时候报错Can't convert argument: null

es启动报错BindException: Can't assign requested address

(转)Odoo12启动报错:UnicodeDecodeError: 'gbk' codec can't decode byte 0x9a 解决