Home > Database > Mysql Tutorial > body text

windows和linux安装mysql后启用日志管理功能的方法_MySQL

WBOY
Release: 2016-06-01 13:26:09
Original
889 people have browsed it

bitsCN.com

查看是否启用了日志

mysql>show variables like 'log_bin';

怎样知道当前的日志

mysql> show master status;


展示二进制日志数目

mysql> show master logs;

看二进制日志文件用mysqlbinlog

shell>mysqlbinlog mail-bin.000001

或者

shell>mysqlbinlog mail-bin.000001 | tail

在配置文件中指定log的

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