Home > Database > Mysql Tutorial > body text

MySQL错误日志

WBOY
Release: 2016-06-07 15:40:12
Original
1315 people have browsed it

MySQL 的日志类型: 错误日志: -log-err 查询日志: -log 慢查询日志: -log-slow-queries 更新日志: -log-update 二进制日志: -log-bin MySQL 错误日志放于 data 目录。可以通过 find / -name [hostname].err 查找;也可以,从/etc/my.cnf 找到 datadir 的

MySQL 的日志类型:

  •  错误日志:     -log-err
  •  查询日志:     -log
  •  慢查询日志:   -log-slow-queries
  •  更新日志:     -log-update
  •  二进制日志: -log-bin

MySQL 错误日志放于 data 目录。可以通过 find / -name [hostname].err 查找;也可以,从/etc/my.cnf 找到 datadir 的信息

比如:/var/lib/mysql/localhost.localdomain.err


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!