{"id":19571636,"url":"https://github.com/serlo/serlo-mysql-database","last_synced_at":"2026-03-09T08:32:41.435Z","repository":{"id":181977122,"uuid":"667752620","full_name":"serlo/serlo-mysql-database","owner":"serlo","description":"Docker image for the Serlo MySQL database","archived":false,"fork":false,"pushed_at":"2025-08-28T10:13:16.000Z","size":84146,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-28T17:29:33.898Z","etag":null,"topics":["devtools","docker","serlo"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/serlo.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,"zenodo":null}},"created_at":"2023-07-18T08:18:35.000Z","updated_at":"2025-08-28T10:13:18.000Z","dependencies_parsed_at":"2025-04-09T17:13:53.950Z","dependency_job_id":"6d212d42-b5ca-40fb-99f3-98bec7945f5b","html_url":"https://github.com/serlo/serlo-mysql-database","commit_stats":null,"previous_names":["serlo/serlo-mysql-database"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/serlo/serlo-mysql-database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serlo%2Fserlo-mysql-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serlo%2Fserlo-mysql-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serlo%2Fserlo-mysql-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serlo%2Fserlo-mysql-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serlo","download_url":"https://codeload.github.com/serlo/serlo-mysql-database/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serlo%2Fserlo-mysql-database/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30287843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"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":["devtools","docker","serlo"],"created_at":"2024-11-11T06:19:37.972Z","updated_at":"2026-03-09T08:32:41.411Z","avatar_url":"https://github.com/serlo.png","language":"Makefile","readme":"# Docker MySQL database image used in Serlo repositories\n\nThis repository contains a custom `mysql` docker image. Changes we have made:\n\n- With the command `serlo-mysql` you can use the MySQL client `mysql` together\n  with default settings (user, password, database) for accessing the `serlo` DB.\n- The command line tool `pv` is available as well. It provides a progress bar\n  when a `.sql` file is imported. Usage: `pv file.sql | serlo-mysql`\n\n## Change DB via migrations\n\nIn order to change the DB image via DB migrations do the following:\n\n1. Run MySQL DB in this repository with `make up`.\n2. Run DB migrations\n3. Check the changes in the DB via `make mysql`.\n4. Make a new dump via `make dump` and `make zip` and commit your changes.\n\n## Publish Image\n\nIn order to automatically create the latest image, change the version at file `VERSION` and merge into `main` will.\n\n## Publish prereleases\n\nIn order to publish a prerelease push to a branch with a name starting with `prerelease`. Then an image with a tag similar to the branch name is published. For example: a remote branch name like `prerelease-feature1` will created an image which you can access via `ghcr.io/serlo/serlo-mysql-database:prerelease-feature1`. This is for example useful when you need DB migrations in order to develop a new feature.\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserlo%2Fserlo-mysql-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserlo%2Fserlo-mysql-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserlo%2Fserlo-mysql-database/lists"}