首页 > 代码库 > sysbench - 单组件式测试工具

sysbench - 单组件式测试工具

1 安装

> ./configure --with-mysql-includes=/usr/local/mysql/include --with-mysql-libs=/usr/local/mysql/lib 

> make

> make install

2 运行时如报错;

dyld: Library not loaded: libmysqlclient.18.dylib

解决如下:

sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib

sysbench - 单组件式测试工具