dhbin / ra Goto Github PK
View Code? Open in Web Editor NEW数据库工具,支持binlog数据闪回、binlog转sql等等
License: Apache License 2.0
数据库工具,支持binlog数据闪回、binlog转sql等等
License: Apache License 2.0
复现:
create table tb_user
(
id bigint primary key not null auto_increment,
username varchar(100) not null,
pwd varchar(100) not null,
sex varchar(10) not null
);
insert into tb_user (username, pwd, sex)
values ('张三', '123456', '男'),
('李四', '111111', '女'),
('kk', '1111', '男');
delete from tb_user where id != 0;
ra flashback --host 127.0.0.1 -u root -p 123456 --start-file mysql-bin.000011 --start-datetime "2023-04-26 08:41:40" --stop-datetime 2023-04-26 08:41:54
输出的sql:
delete from `test`.`tb_user` where id = 1 and username = '张三' and pwd = '123456' and sex = '男' limit 1; # pos 5726 timestamp 1682469713
期望是输出3条sql
支持本地binlog文件解析,而不是注册成从节点获取binlog
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.