MySQL / Net Trace Connector

Does anyone know a way to enable tracing using TraceListener for MySQL Connector / net. I would like it to register SQL queries that are actually executed from the database, that is, see SQL with parameter values ​​replaced by.

+3
source share
2 answers

You can use the slow_query_log parameter to check the requests coming to your server from mysql 5.1.21. Just set slow_query_log = 0 and use the --log-slow-queries [= file_name] option. It's all.

+2
source

I only know the program for this: Jet Profiler for MySQL (not free)

www.jetprofiler.com/

0
source

Source: https://habr.com/ru/post/1717712/


All Articles