MySQL压力测试工具super-smack简单教程
?
一、源码下载
? ?? ??
下载地址:http://vegan.net/tony/supersmack/? ? 源码:http://vegan.net/tony/supersmack/super-smack-1.3.tar.gz
二、编译及安装? ?? ? 编译环境:Ubuntu Server 9.10 64位
? ?? ??配置编译选项:./configure--prefix=/usr/local/super-smack-1.3 --with-mysql--with-smacks-dir=/usr/local/super-smack-1.3
由于MySQL采用了编译安装的方式因此编译选项改为:
./configure --prefix=/usr/local/super-smack-1.3 --with-mysql --with-smacks-dir=/usr/local/super-smack-1.3 --with-mysql-lib=/usr/local/mysql/lib/mysql --with-mysql-include=/usr/local/mysql/include/mysql
make && make install
? ?? ?
编译的时候要把/usr/lib64目录下的libmysqlclient.so.16放到