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

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

直接看操作步骤

[[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]+ Donemysqld_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'

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台