maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #04644
[mysqld] Can't find messagefile '/usr/share/mysql/errmsg.sys'
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
# make
# make install
# export PATH=$PATH:/usr/local/mysql/bin
# echo "export PATH=$PATH:/usr/local/mysql/bin" >> /etc/profile
# source /etc/profile
# cd /usr/local/mysql
# chown -R root .
# chown -R mysql data
# cp ./support-files/my-medium.cnf /etc/my.cnf
# ./scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --verbose
# cp ./support-files/mysql.server /etc/init.d/mysql
# chmod +x /etc/init.d/mysql
# update-rc.d mysql defaults
# service mysql start
# ./bin/mysql_secure_installation
# ./bin/mysqladmin -u root password
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'
2017-06-28 21:37:24 3071039232 [ERROR] Aborting
# ls -l /usr/share/mysql
ls: cannot access /usr/share/mysql: No such file or directory
How to indicate the correct directory permanently ? /usr/share/mysql to /usr/local/mysql/share
# ls /usr/local/mysql/share
aclocal german mysql_performance_tables.sql romanian
charsets greek mysql_system_tables_data.sql russian
czech hungarian mysql_system_tables.sql serbian
danish install_spider.sql mysql_test_data_timezone.sql slovak
dutch italian mysql_to_mariadb.sql spanish
english japanese norwegian swedish
errmsg-utf8.txt korean norwegian-ny ukrainian
estonian maria_add_gis_sp_bootstrap.sql pkgconfig
fill_help_tables.sql maria_add_gis_sp.sql polish
french mroonga portuguese
Guillermo Céspedes
Full Stack Developer
Follow ups