好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

How to see log files in MySQL?

To enable general query log add following

 general_log_file         =  /var /log /mysql /mysql.log
general_log              =  1
        

To enable Slow Query Log add following

 log_slow_queries        =  /var /log /mysql /mysql -slow.log
long_query_time  =  2
log -queries - not - using -indexes               

How to see log files in MySQL?

标签:tps   word   tor   opera   tac   lang   str   dex   not   

查看更多关于How to see log files in MySQL?的详细内容...

  阅读:27次