Home > Database > Mysql Tutorial > body text

读取MySQL的log方法_MySQL

WBOY
Release: 2016-06-01 13:52:10
Original
1141 people have browsed it

读取binlog,方法有二:

1.使用mysqlbinlog,详细用法,请参考MySQL手册

2.使用MySQL的自带工具,SHOW BINLOG EVENTS

读取relaylog,在5.4.4以后能使用show relay log ,如果要想读取的话,要用mysqlbinlog读取,方法:mysqlbinlog relaylogname

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!