用jmeter进行数据库压测是时候出现了如下错误
jmeter连接mysql数据库出错Cannot create PoolableConnectionFactory
Cannot create PoolableConnectionFactory (The server time zone value ‘???��������??��??’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.)
可以看出是时区的错误
那么尝试添加时区在JDBC Connection Configuration配置中的Database URL添加
?serverTimezone=UTC
在运行
jmeter连接mysql数据库出错Cannot create PoolableConnectionFactory
jmeter连接mysql数据库出错Cannot create PoolableConnectionFactory

果然成功了

相关文章:

  • 2022-12-23
  • 2021-09-09
  • 2021-10-25
  • 2021-06-12
  • 2021-08-28
  • 2021-04-09
  • 2022-12-23
猜你喜欢
  • 2021-10-25
  • 2022-01-27
  • 2022-12-23
  • 2021-12-11
  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案