mysql binlog

常用命令:

show variables like 'version';

 show binary logs;

show binlog events;

show master status

show binlog events in 'mysql-bin.000058';


show variables like '%bin%';



d、獲取指定位置binlog的內容(show binlog events from) 
mysql> show binlog events from 213;

show grants for 'canal' 

http://www.linuxidc.com/Linux/2014-12/110653.htm

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章