skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

No mysql trace info

Open mbao opened this issue 7 years ago • 3 comments

Bug

  • Which version of SkyWalking, OS and JRE? 1.8.2 mac os 1.8

  • What happen?

there is no mysql(using Mybatis) trace info,only sometimes the validation-query: SELECT 1 wx20190220-201936 2x

mbao avatar Feb 20 '19 12:02 mbao

I think we can't tell why you don't. But you have the env to reproduce the error, learn how to do remote debug(cn blog, http://skywalking.apache.org/zh/blog/2019-01-24-skywalking-remote-debug.html), then debug the mysql plugin, you will the cause.

wu-sheng avatar Feb 20 '19 12:02 wu-sheng

I think we can't tell why you don't. But you have the env to reproduce the error, learn how to do remote debug(cn blog, http://skywalking.apache.org/zh/blog/2019-01-24-skywalking-remote-debug.html), then debug the mysql plugin, you will the cause.

change mysql-connector-java from version 8.0.11 to 5.1.47 ,mysql trace info is ok. Thanks

mbao avatar Feb 20 '19 12:02 mbao

Thanks for the feedback. MySQL 8 driver is not supported yet.

wu-sheng avatar Feb 20 '19 12:02 wu-sheng