1. 错误信息"CLIENT_PLUGIN_AUTH is required"
> jar包版本过高 jar包添加的 mysql-connector-java-8.0.20.zip;但数据库版本为 (查询数据库版本 "select VERSION()");5.x.x;须导入5.x的jar包
2. 错误信息"com.mysql.jdbc.PacketTooBigException: Packet for query is too large (58 > -1). You can change this value on the server by setting the max_allowed_packet' variable"
> 1.查询当前数据库限制的数据包大小设置
SHOW VARIABLES LIKE "%max_allowed_packet%";数据库设置比较大
2.jar包版本(java-5.1.49) 过高,须添加低于40的包
添加mysql-connector-java-5.1.26-bin.jar到lib,且需要将之前的jar移除,否则默认还是使用之前的jar,重启JMeter