我用mysql> show variables like 'log_%'; 查看日志文件的状态,结果显示
variables                              value
log_bin                                OFF
log_bin_trust_function_creators        OFF
log_error                              .\sehre5hy.err
log_queries_not_using_indexes          OFF
log_slave_updates                      OFF
log_slow_queries                       OFF
log_wornings                           1
 我百度了很多,都说要在my.ini中加入
Enter a name for the binary log. Otherwise a default name will be used. 
log-bin=
#Enter a name for the query log file. Otherwise a default name will be used. 
log=
#Enter a name for the error log file. Otherwise a default name will be used. 
log-error=
#Enter a name for the update log file. Otherwise a default name will be used. 
log-update=在log-bin= log= log-error= log-update= 后面我都加的是data的地址,"C:/Program Files/MySQL/MySQL Server 5.0/Data/",后面跟自己起的日志文件的名字,然后重启数据库,还是off状态。怎么回事?