logging all queries in mysql

Created by Tung NGUYEN on 2016-01-20 23:49:04
Last modified on 2016-01-20 23:49:04

using mysql 5.6
Look the discussion: http://stackoverflow.com/questions/6479107/how-to-enable-mysql-query-log
Solution in Mysql 5.6 in Windows 7
SET global general_log_file='c:/Temp/mysql.log'; SET global general_log = 'ON'/'OFF'; SET global log_output = 'file';


Category: Todos
Tags: 6

© 2013 - 2026. Tung NGUYEN. Using CI version: 3.0.2 | Page rendered in 0.0040 seconds.