在使用mydumper时报错如下:
[root@localhost ~]# mydumper -u root -p xxx -B db1 -o /usr/local/mysql/tmp
mydumper: /usr/lib/libmysqlclient.so.18: no version information available (required by mydumper)
mydumper版本信息:
[root@localhost ~]# mydumper --version
mydumper 0.6.2, built against MySQL 5.6.21
将错误在baidu,bing等搜索引擎网上查了很久没有找到答案。
于是修改关键字:no version information available 终于找到一篇相关的文章:
http://blog.csdn.net/chaehom/article/details/20053559
虽然内容不是 mydumper 报错,但是按照相似的方法解决掉了。
[root@localhost ~]# ll /usr/lib/libmysqlclient.*
-rwxr-xr-x. 1 root root 7049220 Nov 16 22:39 /usr/lib/libmysqlclient.so
lrwxrwxrwx. 1 root root 24 Nov 16 22:38 /usr/lib/libmysqlclient.so.18 -> /usr/lib/libmysqlclient.so
[root@localhost ~]# ln -s /usr/lib/libmysqlclient.so /usr/lib/libmysqlclient.so.16
[root@localhost ~]# ll /usr/lib/libmysqlclient.*
-rwxr-xr-x. 1 root root 7049220 Nov 16 22:39 /usr/lib/libmysqlclient.so
lrwxrwxrwx. 1 root root 26 Nov 16 22:19 /usr/lib/libmysqlclient.so.16 -> /usr/lib/libmysqlclient.so
lrwxrwxrwx. 1 root root 20 Nov 16 22:19 /usr/lib/libmysqlclient.so.18 -> /usr/lib/libmysqlclient.so
就是欺骗一下mydumper而已。什么也没有改变,就是重新建立一个 .so.16的连接。
阅读(17872) | 评论(0) | 转发(0) |