wls1036 opened a new issue #6465:
URL: https://github.com/apache/skywalking/issues/6465
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [ x] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Question
- What do you want to know?
___
### Bug
- Which version of SkyWalking, OS, and JRE?
skywalking:v8.4.0
OS:Mac Mojave 10.14.5
JRE:jdk1.8.0_161
Mysql Version:8.0.21
Mysql JDBC Driver Version:8.0.20
Mysql JDBC Driver class: com.mysql.cj.jdbc.Driver,com.mysql.jdbc.Driver
- Which company or project?
Person
- What happened?
If possible, provide a way to reproduce the error. e.g. demo application,
component version.
set agent config plugin.mysql.trace_sql_parameters=true not working in
skywalking v8.4.0,but working in version 8.0.1,the same code.
sample code:
@RestController
public class JDBCController {
@Autowired
private JdbcTemplate jdbcTemplate;
@GetMapping("/jdbc")
public Map testJDBC() {
return jdbcTemplate.queryForMap("select * from apm_project where
short_code=?", "hr");
}
}
application.properties
spring.datasource.url=jdbc:mysql://localhost:3308/apiman?useUnicode=true&characterEncoding=utf8
spring.datasource.username=root
spring.datasource.password=xxxx
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
___
### Requirement or improvement
- Please describe your requirements or improvement suggestions.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]