{"id":19064979,"url":"https://github.com/netkiller/mysql-outfile-plugin","last_synced_at":"2026-05-13T21:35:24.002Z","repository":{"id":69703488,"uuid":"111085620","full_name":"netkiller/mysql-outfile-plugin","owner":"netkiller","description":"MySQL Outfile plugin","archived":false,"fork":false,"pushed_at":"2017-11-23T03:58:13.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-22T02:44:33.666Z","etag":null,"topics":["mysql","mysql-outfile-plugin","netkiller"],"latest_commit_sha":null,"homepage":"http://www.netkiller.cn","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netkiller.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":"2017-11-17T09:37:12.000Z","updated_at":"2021-11-21T17:04:18.000Z","dependencies_parsed_at":"2023-07-11T05:34:38.908Z","dependency_job_id":null,"html_url":"https://github.com/netkiller/mysql-outfile-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/netkiller/mysql-outfile-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fmysql-outfile-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fmysql-outfile-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fmysql-outfile-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fmysql-outfile-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netkiller","download_url":"https://codeload.github.com/netkiller/mysql-outfile-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fmysql-outfile-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33001260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["mysql","mysql-outfile-plugin","netkiller"],"created_at":"2024-11-09T00:48:05.810Z","updated_at":"2026-05-13T21:35:23.987Z","avatar_url":"https://github.com/netkiller.png","language":"C","funding_links":["https://www.paypal.me/netkiller"],"categories":[],"sub_categories":[],"readme":"mysql-outfile-plugin\n=================\n\nMySQL Outfile Plugin\n\nBuild\n-----\n\tcd /usr/local/src/\n\tgit clone https://github.com/netkiller/mysql-outfile-plugin.git\n\tcd mysql-outfile-plugin/\n\n\tyum install -y cmake3 mysql-community-devel\n\t\n\tcmake3 .\n\tmake\n\tmake install\n\n\tor\n\t\n\tgcc -O3  -g  -I/usr/include/mysql -I/usr/include  -fPIC -lm -lz -shared -o liboutfile.so outfile.c\n\tsudo mv liboutfile.so /usr/lib/mysql/plugin/\n\t\nPlugin Install and Uninstall\n--------------\n\n### Install\n\n\tcreate function out2file returns string soname 'liboutfile.so';\n\n### Uninstall\n\n\tdrop function out2file;\n\nTesting\n-------\n\n### 安装插件\t\n\n\tmysql\u003e create function out2file returns string soname 'liboutfile.so';\n\tQuery OK, 0 rows affected (0.00 sec)\n\n### 调用插件\n\n\tmysql\u003e select out2file('/tmp/myoutfile',\"Helloworld!!!\");\n\t+--------------------------------------------+\n\t| out2file('/tmp/myoutfile',\"Helloworld!!!\") |\n\t+--------------------------------------------+\n\t| true                                       |\n\t+--------------------------------------------+\n\t1 row in set (0.00 sec)\n\t\n### 查看文件\n\n\n\troot@netkiller ~/mysql-outfile-plugin % cat /tmp/myoutfile\n\tHelloworld!!!\n\t\n\n# Donations\n\nWe accept PayPal through:\n\nhttps://www.paypal.me/netkiller\n\nWechat (微信) / Alipay (支付宝) 打赏:\n\nhttp://www.netkiller.cn/home/donations.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetkiller%2Fmysql-outfile-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetkiller%2Fmysql-outfile-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetkiller%2Fmysql-outfile-plugin/lists"}