4,563,196 th visitor since 2017.2.1 ( Today : 90 )
Programming
No. 724
Name. swindler
Subject. mysql query log 남기기
Main Cate. MySQL
Sub Cate.
Date. 2013-11-19 14:35
Hit. 2502 (211.36.27.3)
File.
SET GLOBAL general_log='ON';


SET GLOBAL general_log='OFF';


관련 내용보기
show global variables where Variable_name like '%_log%';

로그위치는 아래 변수에 저장되어 있음
| general_log_file | /var/lib/mysql/72.log

[바로가기 링크] : http://coolx.net/cboard/develop/724



Name
Password
Comment
Copyright © 1999-2017, swindler. All rights reserved. 367,611 visitor ( 1999.1.8-2004.5.26 ), 2,405,771 ( -2017.01.31)

  2HLAB   2HLAB_Blog   RedToolBox   Omil   Omil_Blog