1,下载http://www.mysql.com/products/connector/
2,解压,将其中的jar包放置到Jmeter安装目录的lib目录下
3,添加JDBC配置元件
Variable Names for created pool:定义数据库连接池名称,后续JDBC请求时使用该名称可默认此连接配置
Database URL:jdbc:mysql://${dbhost}:3306?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8
4,使用JDBC Request
Query Type:查询使用Select Statement;更新使用Update Statement;