The default configuration comes with lc_messages_dir = /usr/share/mysql, but now the files are in /usr/share/mariadb. # emerge --config mariadb Configuring pkg... * Trying to get password for mysql 'root' user from 'mysql' section ... * Found password in 'mysql' section! * Creating the mysql database and setting proper permissions on it ... * Command: /usr/share/mariadb/scripts/mysql_install_db --basedir=/usr --loose-skip-grant-tables --loose-skip-host-cache --loose-skip-name-resolve --loose-skip-networking --loose-skip-slave-start --loose-skip-ssl --loose-skip-log-bin --loose-skip-relay-log --loose-skip-slow-query-log --loose-skip-external-locking --loose-skip-log-slave-updates --datadir=///var/lib/mysql --tmpdir=///tmp/ * Starting mysqld ... * Command //usr/sbin/mysqld --loose-skip-grant-tables --loose-skip-host-cache --loose-skip-name-resolve --loose-skip-networking --loose-skip-slave-start --loose-skip-ssl --loose-skip-log-bin --loose-skip-relay-log --loose-skip-slow-query-log --loose-skip-external-locking --loose-skip-log-slave-updates --user=mysql --log-warnings=0 --basedir=//usr --datadir=///var/lib/mysql --max_allowed_packet=8M --net_buffer_length=16K --socket=//var/run/mysqld/mysqld624.sock --pid-file=//var/run/mysqld/mysqld15317.pid * --tmpdir=///tmp/ .2018-06-21 6:41:56 139820569085824 [Note] //usr/sbin/mysqld (mysqld 10.1.33-MariaDB) starting as process 27121 ... 2018-06-21 6:41:56 139820569085824 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys' 2018-06-21 6:41:56 139820569085824 [ERROR] Aborting
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5a69bdef5917ff3235f962dbf624d31b3a4d911 commit d5a69bdef5917ff3235f962dbf624d31b3a4d911 Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2018-06-21 12:39:14 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2018-06-21 12:39:14 +0000 dev-db/mariadb: Fix default location of charset files Closes: https://bugs.gentoo.org/658632 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-db/mariadb/files/my.cnf-5.6-r1 | 142 +++++++++++++++++++++ ...10.0.35-r1.ebuild => mariadb-10.0.35-r2.ebuild} | 6 +- dev-db/mariadb/mariadb-10.1.34.ebuild | 2 +- 3 files changed, 146 insertions(+), 4 deletions(-)
Thank you
Are these files in correct place? /etc/mysql/init.d/mysql /etc/mysql/logrotate.d/mysql