读取binlog,方法有二:
1.使用mysqlbinlog,详细用法,请参考MySQL手册
2.使用MySQL的自带工具,SHOW BINLOG EVENTS
读取relaylog,在5.4.4以后能使用show relay log ,如果要想读取的话,要用mysqlbinlog读取,方法:mysqlbinlog relaylogname
Statement: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