您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

Jmeter连接mysql时区报错

bubuko 2022/1/25 20:07:48 mysql 字数 942 阅读 946 来源 http://www.bubuko.com/infolist-5-1.html

Jmeter连接Mysql测试出现: Cannot create PoolableConnectionFactory (The server time zone value '?????????????????' is unrecognized or represents more than one ...

Jmeter连接Mysql测试出现:

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.)

解决方法:在数据库后面加上?serverTimezone=UTC即可

 

jdbc:mysql://localhost:3306/mysqltest?serverTimezone=UTC

Jmeter连接mysql时区报错

原文:https://www.cnblogs.com/zhsv/p/12426626.html


如果您也喜欢它,动动您的小指点个赞吧

除非注明,文章均由 laddyq.com 整理发布,欢迎转载。

转载请注明:
链接:http://laddyq.com
来源:laddyq.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


联系我
置顶