I was trying to evaluate the latest tokudb Hotbackup for percona's tokudb engine.
This install is under debian (Ubuntu 14)
I was able to get all the packages installed with out error and get all the base toku plugins installed.
Attempting to install the backup plug i get
mysql> install plugin tokudb_backup soname 'tokudb_backup.so';
ERROR 1126 (HY000): Can't open shared library '/usr/lib/mysql/plugin/tokudb_backup.so' (errno: 2 /usr/lib/mysql/plugin/tokudb_backup.so: undefined symbol: tokubackup_version_string)
mysql> select @@version;
+-------------+
| @@version |
+-------------+
| 5.6.27-75.0 |
+-------------+
1 row in set (0.00 sec)
mysql> select @@tokudb_version;
+------------------+
| @@tokudb_version |
+------------------+
| 5.6.27-75.0 |
+------------------+
1 row in set (0.00 sec)
*Edits to comments: *
This file does exist in the filesystem
# ls -l /usr/lib/mysql/plugin/tokudb_backup.so
-rw-r--r-- 1 root root 23736 Nov 3 05:30 /usr/lib/mysql/plugin/tokudb_backup.so
How can I get this installed?
Best Answer
To install Percona TokuBackup:
Run
ps_tokudb_admin --enable-backup
to add the preload-hotbackup option into [mysqld_safe] section of my.cnf.Restart mysql service
Run
ps_tokudb_admin --enable-backup
again to finish installation of TokuBackup plugin