本文共 513 字,大约阅读时间需要 1 分钟。
sysbench 用于压力测试
相应下载, 文档位置 http://sysbench.sourceforge.net/
但从 2009 年开始已经停止开发
rhel6 下, 正常编译会出现类似下面错误
../libtool: line 841: X--mode=link: command not found
解决 : 编辑 configure.ca:
#AC_PROG_LIBTOOL AC_PROG_RANLIB ./autogen.sh./configure --with-mysql --with-mysql-includes=/usr/local/mysql/include --with-mysql-libs=/usr/local/mysql/lib/
make && make install
成功编译
## 注意 ##
某些 MySQL 版本中, 需要定义为
./configure --with-mysql --with-mysql-includes=/usr/local/mysql/include/mysql/ --with-mysql-libs=/usr/local/mysql/lib/mysql/
转载地址:http://whnni.baihongyu.com/