码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2017-01-03 17:32:18      阅读:2503      评论:0      收藏:0      [点我收藏+]

标签:mariadb 二进制启动报错   can't find messagefile '/usr/local/mysql/share/mysql/errmsg.sys'   


直接看操作步骤


[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]+  Done                    mysqld_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‘


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

标签:mariadb 二进制启动报错   can't find messagefile '/usr/local/mysql/share/mysql/errmsg.sys'   

原文地址:http://roidba.blog.51cto.com/12318731/1888525

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!