Skip to content

shafreeck/libbinlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libbinlog

A library to parse mysql binary log

Feature:
1. Self implemence mysql protocol
2. Simple API
3. Just parse ROW format binary log
4. Read from file or MySQL master

API:
/*连接数据源*/
BinlogClient *connectDataSource(const char*url,uint32_t position,uint32_t index,int serverId);
/*获取一条数据*/
BinlogRow* fetchOne(BinlogClient *bc);
/*结束,释放掉BinlogClient*/
void freeBinlogClient(BinlogClient *bc);

INSTALL:
 1. Install to /usr/local
 make && make install
 2. Install to other path
 make && make PREFIX=/path/to/install install


About

A simple mysql binary log parse library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages