{"id":18309394,"url":"https://github.com/masterjoyhunan/mysql_proxy","last_synced_at":"2025-04-09T11:40:25.901Z","repository":{"id":81016623,"uuid":"527783786","full_name":"MasterJoyHunan/mysql_proxy","owner":"MasterJoyHunan","description":"将 MYSQL 请求代理转发到真实的 MYSQL 服务器上","archived":false,"fork":false,"pushed_at":"2022-08-23T05:53:39.000Z","size":24,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T05:30:26.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/MasterJoyHunan.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":"2022-08-23T01:03:25.000Z","updated_at":"2023-05-05T01:46:49.000Z","dependencies_parsed_at":"2023-05-13T03:00:28.288Z","dependency_job_id":null,"html_url":"https://github.com/MasterJoyHunan/mysql_proxy","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/MasterJoyHunan%2Fmysql_proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasterJoyHunan%2Fmysql_proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasterJoyHunan%2Fmysql_proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasterJoyHunan%2Fmysql_proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MasterJoyHunan","download_url":"https://codeload.github.com/MasterJoyHunan/mysql_proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248032933,"owners_count":21036696,"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-11-05T16:11:18.848Z","updated_at":"2025-04-09T11:40:25.868Z","avatar_url":"https://github.com/MasterJoyHunan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### mysql_proxy\n\n用于代理真实 mysql 服务器,并打印传输到真实 mysql 服务的 sql 语句\n\n### 配置文件\n\n代理服务器配置\n\n```yaml \nProxyMysql:\n  Host: 127.0.0.1\n  Port: 4406\n  User: root\n  Pwd: 123456\n```\n\n真实服务器配置\n\n```yaml\nRealMysql:\n  Host: 127.0.0.1\n  Port: 3306\n  User: root\n  Pwd: 123456\n  Db: xxx\n```\n\n### 客户端连接\n\n客户端连接到 `127.0.0.1:4406` 就可以像连接 `127.0.0.1:3306` 一样使用真实服务器\n\n### 用途\n\n使用 mysql 代理,可以让你使用第三方软件连接数据库时,无需看第三方软件的源码是怎么实现的,而只需要看到别人的 SQL 是如何运行的","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterjoyhunan%2Fmysql_proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasterjoyhunan%2Fmysql_proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterjoyhunan%2Fmysql_proxy/lists"}