安装tokudb报错

1、成功安装tokudb

ps_tokudb_admin --enable -uroot -p
Enter password:
Continuing without password...
Checking if Percona server is running with jemalloc enabled...
grep: /proc/5440/environ: Permission denied
>> Percona server is running with jemalloc enabled.
Checking transparent huge pages status on the system...
>> Transparent huge pages are currently disabled on the system.
Checking if thp-setting=never option is already set in config file...
>> Option thp-setting=never is not set in the config file.
>> (needed only if THP is not disabled permanently on the system)
Checking TokuDB plugin status...
>> TokuDB plugin is installed.
Adding thp-setting=never option into /etc/mysql/my.cnf
>> Successfuly added thp-setting=never option into /etc/mysql/my.cnf   #把参数thp-setting=never加载到了my.cnf的[mysqld_safe]的选项组下

2、安装报错

ps_tokudb_admin --enable --user=mysql--password=root --socket=/ssd/mysql6603.sock --host=ip地址 --port=6603--defaults-file=/ssd/my.cnf

Checking if Percona Server isrunning with jemalloc enabled...

ERROR: Percona Server is notrunning with jemalloc, please restart mysql service to enable it and then runthis script...

缺包,先安装

# yum install epel-release

然后就可以安装jemalloc了:

# yum install jemalloc

[mysqld_safe]

#malloc_lib =/usr/local/Percona-Mysql/lib/mysql/libjemalloc.so

#malloc_lib=/ssd/percona/Percona-Server-5.7.17-11-Linux.x86_64.ssl101/lib/mysql/libjemalloc.so

[mysqld]

plugin-dir=/usr/lib64/mysql/plugin

plugin_load=ha_tokudb.so

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值