See the operation step directly
[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
Add [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--Data files, you don't have to look.
[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 binary start error, Can ' t find messagefile '/usr/local/mysql/share/mysql/errmsg.sys '