{"id":22389834,"url":"https://github.com/entando/entando-mysql","last_synced_at":"2025-10-24T18:32:32.016Z","repository":{"id":42992228,"uuid":"455628876","full_name":"entando/entando-mysql","owner":"entando","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-21T13:40:40.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-02-01T03:27:54.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/entando.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":"2022-02-04T17:02:06.000Z","updated_at":"2022-02-14T16:36:45.000Z","dependencies_parsed_at":"2023-11-21T14:51:03.950Z","dependency_job_id":null,"html_url":"https://github.com/entando/entando-mysql","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entando%2Fentando-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entando%2Fentando-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entando%2Fentando-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entando%2Fentando-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/entando","download_url":"https://codeload.github.com/entando/entando-mysql/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245737996,"owners_count":20664202,"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-12-05T03:13:22.790Z","updated_at":"2025-10-24T18:32:31.945Z","avatar_url":"https://github.com/entando.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"MySQL 8.0 SQL Database Server container image\n=============================================\n\nThis container image includes MySQL 8.0 SQL database server for  general usage.\nUsers can choose between RHEL8 and RockyLinux8 based images.\n\nDescription\n-----------\n\nThis container image provides a containerized packaging of the MySQL mysqld daemon\nand client application. The mysqld server daemon accepts connections from clients\nand provides access to content from MySQL databases on behalf of the clients.\n\nUsage\n-----\n\nIf you want to set only the mandatory environment variables and not store\nthe database in a host directory, execute the following command:\n\n```\n$ podman run -d --name mysql_database -e MYSQL_USER=user -e MYSQL_PASSWORD=pass -e MYSQL_DATABASE=db -p 3306:3306 (Image:tag)\n```\n\nThis will create a container named `mysql_database` running MySQL with database\n`db` and user with credentials `user:pass`. Port 3306 will be exposed and mapped\nto the host. If you want your database to be persistent across container executions,\nalso add a `-v /host/db/path:/var/lib/mysql/data` argument. This will be the MySQL\ndata directory.\n\nIf the database directory is not initialized, the entrypoint script will first\nrun [`mysql_install_db`](https://dev.mysql.com/doc/refman/en/mysql-install-db.html)\nand setup necessary database users and passwords. After the database is initialized,\nor if it was already present, `mysqld` is executed and will run as PID 1. You can\n stop the detached container by running `podman stop mysql_database`.\n\n\nEnvironment variables and volumes\n---------------------------------\n\nThe image recognizes the following environment variables that you can set during\ninitialization by passing `-e VAR=VALUE` to the Docker run command.\n\n**`MYSQL_USER`**  \n       User name for MySQL account to be created\n\n**`MYSQL_PASSWORD`**  \n       Password for the user account\n\n**`MYSQL_DATABASE`**  \n       Database name\n\n**`MYSQL_ROOT_PASSWORD`**  \n       Password for the root user (optional)\n\nYou can also set the following mount points by passing the `-v /host:/container` flag to Docker.\n\n**`/var/lib/mysql/data`**  \n       MySQL data directory\n\n\n**Notice: When mouting a directory from the host into the container, ensure that the mounted\ndirectory has the appropriate permissions and that the owner and group of the directory\nmatches the user UID or name which is running inside the container.**\n\n\nMySQL auto-tuning\n-----------------\n\nWhen the MySQL image is run with the `--memory` parameter set and you didn't\nspecify value for some parameters, their values will be automatically\ncalculated based on the available memory.\n\n**`MYSQL_KEY_BUFFER_SIZE (default: 10%)`**  \n       `key_buffer_size`\n\n**`MYSQL_READ_BUFFER_SIZE (default: 5%)`**  \n       `read_buffer_size`\n\n**`MYSQL_INNODB_BUFFER_POOL_SIZE (default: 50%)`**  \n       `innodb_buffer_pool_size`\n\n**`MYSQL_INNODB_LOG_FILE_SIZE (default: 15%)`**  \n       `innodb_log_file_size`\n\n**`MYSQL_INNODB_LOG_BUFFER_SIZE (default: 15%)`**  \n       `innodb_log_buffer_size`\n\n\n\nMySQL root user\n---------------\nThe root user has no password set by default, only allowing local connections.\nYou can set it by setting the `MYSQL_ROOT_PASSWORD` environment variable. This\nwill allow you to login to the root account remotely. Local connections will\nstill not require a password.\n\nTo disable remote root access, simply unset `MYSQL_ROOT_PASSWORD` and restart\nthe container.\n\n\nChanging passwords\n------------------\n\nSince passwords are part of the image configuration, the only supported method\nto change passwords for the database user (`MYSQL_USER`) and root user is by\nchanging the environment variables `MYSQL_PASSWORD` and `MYSQL_ROOT_PASSWORD`,\nrespectively.\n\nChanging database passwords through SQL statements or any way other than through\nthe environment variables aforementioned will cause a mismatch between the\nvalues stored in the variables and the actual passwords. Whenever a database\ncontainer starts it will reset the passwords to the values stored in the\nenvironment variables.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentando%2Fentando-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fentando%2Fentando-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentando%2Fentando-mysql/lists"}