I have installed:
- Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-63-generic x86_64)
- Percona Server 5.6.26-74.0-1.trusty
- Percona Server TokuDB 5.6.26-74.0-1.trusty
- libjemalloc1 3.6.0-2.trusty
In /etc/mysql/my.cnf
under [mysqld_safe]
I have added:
malloc-lib = /usr/lib/x86_64-linux-gnu/libjemalloc.so.1
I have restarted the server.
Each time I run sudo ps_tokudb_admin --enable -u root -p
I get:
Checking if Percona Server is running with jemalloc enabled... ERROR: Percona Server is not running with jemalloc, please restart mysql service to enable it and then run this script...