日志一般在安装mysql的data目录下!
解决方案 »
- 怎样将mysql查询结果集中的字段值赋给变量
- mysql, ERROR 1064 (42000) 各位帮看下
- 请问如何在windows下同时运行两个不同版本的mysql?
- 新安装好的MySQL配置问题
- 编译错误,请高手帮助
- 现在,数据库前端开发多采用什么工具?
- windows下mysql移植到linux下
- 远程或者本地连接MySQL时报错1130 host is not allowed to connect to this mysql server
- 存储过程中使用事务提交,每10W条提交一次
- Error 1045 MySql
- 帮忙解释一下MySQL的数据表类型 ISAM, MyISAM, HEAP, BDB, InnoDB......
- 如何查出一个表中记录数 为20的记录?
[mysqld]
#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=
修改后保存my.ini文件,然后重启mysql的服务后就可以在data文件夹目录下看到hostname.log.
应该写在 my.ini 配置文件里,