← Back to team overview

maria-discuss team mailing list archive

Re: [mysqld] Can't find messagefile '/usr/share/mysql/errmsg.sys'

 

Thanks, I'll use the command:

# sed -i 's/ PATH_OLD / PATH_NEW' /etc/mysql/my.cnf
…

Regards.
Guillermo Céspedes
Full Stack Developer



> El 29 jun. 2017, a las 14:11, Sergei Golubchik <serg@xxxxxxxxxxx> escribió:
> 
> Hi, Guillermo!
> 
> On Jun 29, Guillermo Cespedes wrote:
>> Hi, Sergei.
>> 
>> I have two my.cnf files: /etc/my.cnf and /etc/mysql/my.cnf
>> 
>> In /etc/mysql/my.cnf:
>> 
>> basedir, datadir and lc-messages-dir 
>> 
>> They are pointing to an incorrect directory.
>> 
>> I can avoid this when I compile mariadb, or I have to modify it after compiling. ?
> 
> It's in the manual, did you try to look there?
> 
> https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/
> 
> Regards,
> Sergei
> Chief Architect MariaDB
> and security@xxxxxxxxxxx


Follow ups

References