← Back to team overview

maria-discuss team mailing list archive

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

 

Hi, Guillermo!

On Jun 28, Guillermo Cespedes wrote:
> Hi,
> 
> Compilation Instructions:
>   # uname -a
> 	Linux framework 3.16.0-4-686-pae #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) i686 GNU/Linux
> 
>   # groupadd mysql
>   # useradd -c "MySQL Server" -g mysql -s /bin/false mysql
> 
>   # cmake . -DBUILD_CONFIG=mysql_release \
>   -DCMAKE_C_FLAGS="-I/usr/local/include -I/usr/include/i386-linux-gnu" \
>   -DWITH_INNODB_LZ4=ON -DWITH_INNODB_LZMA=OFF -DWITH_INNODB_LZO=OFF \
>   -DWITH_ZLIB=system -DWITH_SSL=system \
>   -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_spanish_ci \
>   -DWITH_DEBUG=0 -DWITH_VALGRIND=0
> Error:
> 
> # mysqld
> 2017-06-28 21:37:24 3071039232 [Note] Using unique option prefix 'key_buffer' is error-prone and can break in the future. Please use the full name 'key_buffer_size' instead.
> 2017-06-28 21:37:24 3071039232 [Note] mysqld (mysqld 10.2.6-MariaDB-log) starting as process 2600 ...
> 2017-06-28 21:37:24 3071039232 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'

The server, if compiled as you did, should use /usr/local/mysql/share.

Most probably /usr/share/mysql is coming from one of your my.cnf files.
Check /etc/my.cnf, ~/.my.cnf, etc. Run "my_print_defaults --mysqld".

Regards,
Sergei
Chief Architect MariaDB
and security@xxxxxxxxxxx


Follow ups

References