B
B
bender30002014-10-17 06:55:31
linux
bender3000, 2014-10-17 06:55:31

How to get MySQL query logs from a local site on Windows?

In linux, I enabled general_log_query and specified the path to the file, everything worked. How to get logs on Windows?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2014-10-17
@bender3000

SET GLOBAL general_log_file='general.log';
SET GLOBAL general_log=ON;
SET GLOBAL log_output='FILE';
should work under the window

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question