mysql查看binlog日志内容

mysql的binlog日志位置可经过show variables like '%datadir%';查看,直接打开没法查看,要看其内容2个办法: 一、登陆到mysql查看binlog 只查看第一个binlog文件的内容 mysql> show binlog events; 查看指定binlog文件的内容 mysql> show binlog events in 'mysql-bin.000002
相关文章
相关标签/搜索