mysql 5.5.11 UDF? 400 报错
试验环境:centos5.5 mysql 5.5.11 memcached_functions_mysql-0.9
在导入脚本时出错,如下,几天了没能解决
[root@localhoMYSQL02 sql]# /usr/local/mysql/bin/mysql -uroot -p123 <install_functions.sql
ERROR 1126 (HY000) at line 1: Can't open shared library 'libmemcached_functions_mysql.so' (errno: 0 /usr/local/mysql/lib/plugin/libmemcached_functions_mysql.so: undefined symbol: memcached_string_append)
哇,有人用 memcached 插件了,关注下,有什么可分享的没啊?:)
######我现在还用的是 单独安装的 med..
######是否是 selinux 的原因?
######Our source code is in the “plugin/innodb_memcached” directory. As part of server build, it will generate two shared libraries:
1) libmemcached.so: this is the memcached daemon plugin to MySQL
2) innodb_engine.so: this is an InnoDB API plugin to memcached
Make sure above two shared libraries are put in the MySQL plugin directory. You can find MySQL plugin directory by doing “select @@plugin_dir”:
mysql> select @@plugin_dir;
+——————————————————————————-+
| @@plugin_dir |
+——————————————————————————-+
| /home/jy/work2/mysql-5.6-memcached-labs/lib/plugin |
+——————————————————————————-+
1 row in set (0.00 sec)
这步做了吗?
好像这个插件是给5.6设计的,不知道5.5装起来会不会有问题
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。