jmeter数据库连接异常记录

Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))

解决:

此电脑-管理-关闭mysqlzt 服务,重新运行jmx文件

Cannot create PoolableConnectionFactory (Unknown database 'test&characterencoding=utf-8')

解决:

database 名写错,字符编码格式用? 连接

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 用?连接

Cannot create PoolableConnectionFactory (Unknown database 'test&servertimezone=utc')

解决:

用? 连接

原文地址:https://www.cnblogs.com/c-jw/p/14209827.html