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

2017-01-10 08:21:25来源:作者:人点击

直接看操作步骤

[root@mysql91 share]# mysqld_safe --defaults-file=/etc/my.cnf &
[1] 3482
[root@mysql91 share]# 170103 18:48:58 mysqld_safe Logging to '/log/mysql/error.log'.

[1]+ Donemysqld_safe --defaults-file=/etc/my.cnf
[root@mysql91 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
............

[root@mysql91 share]# vi /etc/my.cnf

添加[mysqld]
language = /usr/local/mysql/share/english

[root@mysql91 english]# cd /usr/local/mysql/share/english
[root@mysql91 english]# file errmsg.sys
errmsg.sys: data --数据文件,可以不用看了

[root@mysql91 english]# mysqld_safe --defaults-file=/etc/my.cnf &
[1] 3725
[root@mysql91 english]# 170103 18:56:07 mysqld_safe Logging to '/log/mysql/error.log'

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台