Home  >  Article  >  Database  >  【MySQL案例】tpcc--执行tpcc

【MySQL案例】tpcc--执行tpcc

WBOY
WBOYOriginal
2016-06-07 15:18:38912browse

【报错信息】 针对mysql官方社区版进行测试的时候,执行tpcc_load脚本提示缺少libperconaserverclient.so.18库文件: time ./tpcc_load 127.0.0.1 tpcc1000 root 500 ./tpcc_load: error while loading sharedlibraries: libperconaserverclient.so.18: cann

【报错信息】

针对mysql官方社区版进行测试的时候,执行tpcc_load脚本提示缺少libperconaserverclient.so.18库文件:

time ./tpcc_load 127.0.0.1 tpcc1000 root"" 500

./tpcc_load: error while loading sharedlibraries: libperconaserverclient.so.18: cannot open shared object file: Nosuch file or directory

【报错原因】

Tpcc-mysql是依赖于percona mysql开发的工具,它依赖于一些percona的库文件,而本案例中测试的是mysql community社区版。

【解决方法】

安装对应版本的Percona-Server-shared包,

本案例中需要安装的包是Percona-Server-shared-55-5.5.40-rel36.1.el5.x86_64.rpm

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn