set global general_log=on;

参考:
http://www.jb51.net/article/76886.htm

更多推荐