Not the answer you need?
Register and ask your own question!

Getting error in starting mysql while changing the path

prince85prince85 ContributorCurrent User Role Novice
I'm getting below error in log.

2019-04-23T14:15:39.420216Z 0 [ERROR] Can't find error-message file '/data/share/errmsg.sys'. Check error-message file location and 'lc-messages-dir' configuration directive.

I've specified the below in my.cnf
lc_messages_dir=/data/share

Below are the path and permission:

[[email protected] data]$ ll
total 4
drwxr-xr-x. 5 mysql mysql 4096 Apr 23 14:29 mysql
drwxr-xr-x. 2 mysql mysql 24 Apr 23 14:30 share
[[email protected] data]$ pwd
/data

Please help. Why I'm unable to start mysql after changing the data path.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.