Home > Database > Mysql Tutorial > 查看MySQL的错误日志的方法_MySQL

查看MySQL的错误日志的方法_MySQL

WBOY
Release: 2016-06-01 13:20:24
Original
1240 people have browsed it

bitsCN.com MySQL的错误信息是在data目录下的,且文件名为.err(指的是主机名),但由于每个人安装的环境不一样,或你忘记了data目录的所在位置,你可以通过下面方法查找。

#hostname //获得主机名

#find / -name .err
.....

#cd ...

#vi .errbitsCN.com

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