Getting error in starting mysql while changing the path

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:

[wpadmin@ip-10-99-10-133 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
[wpadmin@ip-10-99-10-133 data]$ pwd
/data

Please help. Why I’m unable to start mysql after changing the data path.