繁体   English   中英

MySQL日志文件配置

[英]MySQL log file configuration

我的配置日志文件有问题。 我正在使用Windows,而mysql作为Windows服务运行(我的tomcat加载了它)。

我的配置文件:

general_log_file        = C:\mysql.log
general_log

#Log output can be FILE,TABLE or NONE
log_output = FILE

log_error                = C:\error.log
log-error                = C:\error.log

我想念什么? 我尝试使用MySQL工作台进行配置,但有时它可以工作,有时却不能。

general_log = 1
general_log_file = general-query.log

log_error = error.log

尝试使用此配置,您可以在此处找到更多详细信息:

http://dev.mysql.com/doc/refman/5.1/zh-CN/query-log.html

http://dev.mysql.com/doc/refman/5.1/zh-CN/error-log.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM