Reputation: 7978
It seems that TokuDB is not available in Fedora 24 + MariaDB 10.1.17.
2016-09-23 18:17:56 140514451392704 [ERROR] TokuDB is not initialized because jemalloc is not loaded
I have jemalloc and jemalloc-devel installed
My /etc/my.cnf/tokudb.cnf
plugin-load=ha_tokudb
Moreover, SELinux is disabled in /etc/selinux/config
[root@localhost giuseppe]# sestatus
SELinux status: disabled
Upvotes: -1
Views: 188
Reputation: 702
CentOS and other RHEL based linux. Install MariaDB and libs:
yum install MariaDB-server MariaDB-client MariaDB-devel MariaDB-tokudb-engine MariaDB-shared jemalloc jemalloc-devel
In file /usr/lib/systemd/system/mariadb.service
in section [Service]
add:
[Service]
...
Environment="LD_PRELOAD=/usr/lib64/libjemalloc.so"
Upvotes: 0
Reputation: 7978
Use always official Repos. The Repos installed by default on Linux distros usually are not good.
In my case:
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/fedora24-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
is ther right one to use. Then
dnf install MariaDB
Upvotes: 0