简体   繁体   English

MySQL 5.6早期版本中的InnoDB Memcached插件

[英]InnoDB Memcached Plugin in earlier version of MySQL 5.6

Can we use InnoDB Memcached Plugin in an earlier version of MySQL 5.6, such as 5.1 or 5.5? 我们可以在MySQL 5.6的早期版本(例如5.1或5.5)中使用InnoDB Memcached插件吗? I searched on the web but could not find anything about this. 我在网上搜索,但找不到任何相关信息。

I tried to do this, as follows. 我尝试这样做,如下所示。 I downloaded MySQL-server-5.6.22-1.el7.x86_64.rpm and then run the following command to extract it: 我下载了MySQL-server-5.6.22-1.el7.x86_64.rpm ,然后运行以下命令将其解压缩:

rpm2cpio MySQL-server-5.6.22-1.el7.x86_64.rpm  | cpio -idmv

and then copied libmemcached.so from ~/usr/lib64/mysql/plugin to /usr/lib64/mysql/plugin ,and then from these instructions here ran the following command: 然后复制libmemcached.so~/usr/lib64/mysql/plugin/usr/lib64/mysql/plugin ,然后从这些说明这里运行下面的命令:

 mysql> install plugin daemon_memcached soname "libmemcached.so";

but I got the following error: 但出现以下错误:

Can't open shared library 'libmemcached.so' (errno:8, API version for DAEMON plugin daemon_memcached not supported by this version of the server 无法打开共享库'libmemcached.so'(errno:8,此版本的服务器不支持DAEMON插件daemon_memcached的API版本

My current version of MySQL is: 我当前的MySQL版本是:

 mysql  Ver 15.1 Distrib 5.5.37-MariaDB, for Linux (x86_64) using readline 5.1

Any ideas to solve it? 有什么办法解决吗?

我将发行版从MariaDB更改为MySQL,并在MySQL 5.1和5.5中测试了“ InnoDB Memcached插件”,但是此插件无法正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM