{"id":22152451,"url":"https://github.com/sinri/binlogreader","last_synced_at":"2025-03-24T13:26:25.667Z","repository":{"id":81825019,"uuid":"233526353","full_name":"sinri/BinlogReader","owner":"sinri","description":"Plan to read MySQL Binlog Binary Files!","archived":false,"fork":false,"pushed_at":"2020-08-19T07:06:36.000Z","size":117,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T18:33:34.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sinri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-13T06:26:16.000Z","updated_at":"2020-08-19T07:06:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6d20024-44c5-4855-a12a-60e8997eb0cb","html_url":"https://github.com/sinri/BinlogReader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinri%2FBinlogReader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinri%2FBinlogReader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinri%2FBinlogReader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinri%2FBinlogReader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinri","download_url":"https://codeload.github.com/sinri/BinlogReader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245278008,"owners_count":20589234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T00:51:33.224Z","updated_at":"2025-03-24T13:26:25.642Z","avatar_url":"https://github.com/sinri.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BinlogReader\n\nNow it may parse the binlog file of MySQL 5.6.\nHigher versions are not tested yet.\n\n# File Structure of MySQL Binlog File (v4)\n\n1. Magic Words  (`\\xfe\\x62\\x69\\x6e`)\n2. Events\n    * Events start with Format Description Event and End with Rotate Event;\n    * Structure of each event\n        1. Header (19 bytes)\n            1. timestamp (4 bytes)\n            2. type code (1 bytes)\n            3. server id (4 bytes)\n            4. event length (4 bytes)\n            5. next position (4 bytes);\n            6. flags (2 bytes)\n        2. Body (size is event length - checksum size)\n            * structure varies amongst different events\n        3. Checksum (empty or 4 bytes if CRC32 method used)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinri%2Fbinlogreader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinri%2Fbinlogreader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinri%2Fbinlogreader/lists"}