https://bz.apache.org/bugzilla/show_bug.cgi?id=60889
Liu XP <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW --- Comment #7 from Liu XP <[email protected]> --- Hi Philippe, It is relative with JMeter JDBC Sampler JDBCSampler.java line 88 res.setResponseHeaders(conn.toString()); The toString method is Overrided by DBCP2 DelegatingConnect.java line 101 toString(). And it will call meta.getUserName() in MySQL JDBC function. I comment conn.toString() line 88 and used following code to set ResponseHeaders. It could avoid to calling "SELECT USER()" Query. //res.setResponseHeaders(conn.toString()); res.setResponseHeaders("DB Pool Name: " + getDataSource() + ";\nConnect Catalog: " + conn.getCatalog()); -- You are receiving this mail because: You are the assignee for the bug.
