{"id":15662810,"url":"https://github.com/arey/mysql-client","last_synced_at":"2025-04-23T21:43:09.333Z","repository":{"id":32111771,"uuid":"35684137","full_name":"arey/mysql-client","owner":"arey","description":"Run a MySQL client from a docker container","archived":false,"fork":false,"pushed_at":"2023-05-31T16:50:57.000Z","size":8,"stargazers_count":19,"open_issues_count":1,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T03:43:54.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/arey.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":"2015-05-15T16:19:26.000Z","updated_at":"2024-04-15T03:36:47.000Z","dependencies_parsed_at":"2024-10-23T08:25:22.339Z","dependency_job_id":"7a6518d0-0c5c-40c6-b2c7-3b44009fc5db","html_url":"https://github.com/arey/mysql-client","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/arey%2Fmysql-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arey%2Fmysql-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arey%2Fmysql-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arey%2Fmysql-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arey","download_url":"https://codeload.github.com/arey/mysql-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250522264,"owners_count":21444508,"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-10-03T13:34:35.775Z","updated_at":"2025-04-23T21:43:09.315Z","avatar_url":"https://github.com/arey.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mysql-client\n\n[![Docker Hub](https://img.shields.io/badge/docker-ready-blue.svg)](https://registry.hub.docker.com/u/arey/mysql-client/) \n\nDocker image with a MySQL client.\n\nThis Docker image is based on Alpine Linux.\nSupport both Intel/AMD and ARM architectures.\n\nVirtual size : 11 MB\n\nFrom image: alpine:3.14\n\nMysql client: Ver 15.1 Distrib 10.1.26-MariaDB\n\n## Usage\n\nExecute SQL statements from an input SQL file:\n\n```\n$ docker run -v \u003cpath to sql\u003e:/sql --link \u003cmysql server container name\u003e:mysql -it arey/mysql-client -h mysql -p \u003cpassword\u003e -D \u003cdatabase name\u003e -e \"source /sql/\u003cyour sql file\u003e\"\n```\n\n## Build and publish\n\n```\ndocker buildx install\ndocker buildx create --use\ndocker buildx build --platform linux/386,linux/amd64,linux/arm64,linux/arm . -t arey/mysql-client:latest --push\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farey%2Fmysql-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farey%2Fmysql-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farey%2Fmysql-client/lists"}