{"id":13458172,"url":"https://github.com/SciSharp/dotnet-mysql-replication","last_synced_at":"2025-03-24T15:30:50.918Z","repository":{"id":46789103,"uuid":"210571917","full_name":"SciSharp/dotnet-mysql-replication","owner":"SciSharp","description":"C# Implementation of MySQL replication client","archived":false,"fork":false,"pushed_at":"2024-05-25T22:40:41.000Z","size":163,"stargazers_count":49,"open_issues_count":1,"forks_count":17,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-07-31T09:09:06.386Z","etag":null,"topics":["client","csharp","mysql","replication"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SciSharp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-09-24T10:08:17.000Z","updated_at":"2024-07-06T20:37:23.000Z","dependencies_parsed_at":"2024-01-13T17:47:04.512Z","dependency_job_id":"5f82de88-9f5f-4d43-acdc-7b82eefef544","html_url":"https://github.com/SciSharp/dotnet-mysql-replication","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/SciSharp%2Fdotnet-mysql-replication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SciSharp%2Fdotnet-mysql-replication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SciSharp%2Fdotnet-mysql-replication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SciSharp%2Fdotnet-mysql-replication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SciSharp","download_url":"https://codeload.github.com/SciSharp/dotnet-mysql-replication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221981633,"owners_count":16911428,"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":["client","csharp","mysql","replication"],"created_at":"2024-07-31T09:00:46.184Z","updated_at":"2024-10-29T03:30:34.600Z","avatar_url":"https://github.com/SciSharp.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# dotnet-mysql-replication\n\n[![build](https://github.com/SciSharp/dotnet-mysql-replication/actions/workflows/build.yaml/badge.svg)](https://github.com/SciSharp/dotnet-mysql-replication/actions/workflows/build.yaml)\n[![MyGet Version](https://img.shields.io/myget/scisharp/vpre/SciSharp.MySQL.Replication)](https://www.myget.org/feed/scisharp/package/nuget/SciSharp.MySQL.Replication)\n[![NuGet Version](https://img.shields.io/nuget/v/SciSharp.MySQL.Replication.svg?style=flat)](https://www.nuget.org/packages/SciSharp.MySQL.Replication/)\n\ndotnet-mysql-replication is a C# Implementation of MySQL replication protocol client. This allows you to receive events like insert, update, delete with their data and raw SQL queries from MySQL.\n\n## Usage\n\n```csharp\n\nusing SciSharp.MySQL.Replication;\n\nvar serverHost = \"localhost\";\nvar username = \"root\";\nvar password = \"scisharp\";\nvar serverId =  1; // replication server id\n\nvar client = new ReplicationClient();\nvar result = await client.ConnectAsync(serverHost, username, password, serverId);\n\nif (!result.Result)\n{\n    Console.WriteLine($\"Failed to connect: {result.Message}.\");\n    return;\n}\n\nclient.PackageHandler += (s, p) =\u003e\n{\n    Console.WriteLine(p.ToString());\n    Console.WriteLine();\n}\n\nclient.StartReceive();\n\n//...\n\nawait client.CloseAsync();\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSciSharp%2Fdotnet-mysql-replication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSciSharp%2Fdotnet-mysql-replication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSciSharp%2Fdotnet-mysql-replication/lists"}