# Getting error in starting mysql while changing the path

**URL:** <https://forums.percona.com/t/getting-error-in-starting-mysql-while-changing-the-path/6978>\
**Category:** Percona Server for MySQL 5.7\
**Created:** [April 23, 2019, 9:13am UTC](https://forums.percona.com/t/getting-error-in-starting-mysql-while-changing-the-path/6978 "2019-04-23T09:13:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prince85](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@prince85](https://forums.percona.com/u/prince85)\
**Post date:** [April 23, 2019, 9:13am UTC](https://forums.percona.com/t/getting-error-in-starting-mysql-while-changing-the-path/6978/1 "2019-04-23T09:13:41Z")

</div>

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.
