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/
时间: 2024-09-08 14:23:59