I build Percona-server from scratch, started mysql by:
/bin/mysqld --defaults-file=my.cnf --user=root &
But when I tried t enable RocksDB by:
./bin/ps-admin --enable-rocksdb -u root -p -S mysql.sock
I got following error messages:
hecking if RocksDB plugin is available for installation …
INFO: ha_rocksdb.so library for RocksDB found at /memverge/home/jungan/percona-server/install/usr/local/mysql/lib/mysql/plugin/ha_rocksdb.so.
Checking RocksDB engine plugin status…
INFO: RocksDB engine plugin is not installed.
Installing RocksDB engine…
ERROR: Failed to install RocksDB engine plugin. Please check error log.
And I checked mysql err log there is nothing, I had set log_error_verbosity to 3 and I can see other logs. Just no reason for this one.
Here is my.cnf:
[mysqld]
datadir=/build/mysql_data/
socket=/build/mysql.sock
plugin-dir=/build/user/local/mysql/lib/mysql/plugin
log_error_verbosity = 3
server-id=master-01
log-bin=mysqld-bin
binlog_format=ROW
[mysqld_safe]
log-error=/build/mysql_log/mysqld.log
pid-file=/build/mysqld.pid
Any one know how to fix it? Thanks a lot!!!