{"id":30184672,"url":"https://github.com/studyresearchprojects/db-mysql-docker","last_synced_at":"2026-02-23T13:16:09.531Z","repository":{"id":104132167,"uuid":"189772903","full_name":"StudyResearchProjects/db-mysql-docker","owner":"StudyResearchProjects","description":"Probando MySQL con Docker","archived":false,"fork":false,"pushed_at":"2019-06-01T20:08:44.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T16:38:09.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":false,"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/StudyResearchProjects.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":"2019-06-01T20:02:30.000Z","updated_at":"2025-05-22T22:53:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"bbe28553-1af3-4c5a-a411-b247786a6773","html_url":"https://github.com/StudyResearchProjects/db-mysql-docker","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.25,"last_synced_commit":"5e2c7c7ae97efd20c0b6dac8a36a849a3b252765"},"previous_names":["leoborai/db-mysql-docker","valhallaban/db-mysql-docker","estebanborai/db-mysql-docker","studyresearchprojects/db-mysql-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StudyResearchProjects/db-mysql-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fdb-mysql-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fdb-mysql-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fdb-mysql-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fdb-mysql-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StudyResearchProjects","download_url":"https://codeload.github.com/StudyResearchProjects/db-mysql-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fdb-mysql-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29743765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"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":[],"created_at":"2025-08-12T12:43:59.105Z","updated_at":"2026-02-23T13:16:09.516Z","avatar_url":"https://github.com/StudyResearchProjects.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# db-mysql-docker\n\u003e Probando MySQL con Docker\n\n#### Requisitos\n- Docker\n- Git\n\n#### Instalacion\nAbir una ventana del terminal y ejecutar los siguientes comandos:\n\n```bash\n# clonar repositorio de Git\ngit clone https://github.com/NeyderPinzon/db-mysql-docker.git\n\n# posicionarse en el directorio del proyecto\ncd db-mysql-docker/\n\n# NOTA: al escribir el nombre de un directorio/carpeta\n# se puede utilizar la tecla TAB para autocompletar\n# el nombre, los directorios suelen terminar con\n# slash \"/\"\n\n# construir imagenes de Docker usando el comando\n# docker-compose\ndocker-compose up --build\n\n# Finalmente veremos un output similar al siguiente\n\n# seven_eleven_db | 2019-06-01T19:17:49.797404Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.\n# seven_eleven_db | 2019-06-01T19:17:49.822630Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.16'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.\n# seven_eleven_db | 2019-06-01T19:17:49.907828Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: '/var/run/mysqld/mysqlx.sock' bind-address: '::' port: 33060\n\n# No se podra seguir utilizando esta instancia del terminal, debido a que esta sujeto al log de\n# Docker, el cual esta corriendo un contenedor con nuestra instancia de MySQL.\n```\n\n#### Acceso a la base de datos en el contenedor\nPara acceder al contenedor que tiene nuestra base de datos, debemos\nconseguir el ID del mismo. Para ello abriremos otra ventana o instancia del terminal.\n\n```bash\n# resumen de Docker\ndocker ps\n\n# Esperar una respuesta similar a esta:\nCONTAINER ID        IMAGE                      COMMAND                  CREATED              STATUS              PORTS                                           NAMES\ndd4c6e90778c        db-mysql-docker_database   \"docker-entrypoint.s…\"   About a minute ago   Up About a minute   3306/tcp, 33060/tcp, 0.0.0.0:44500-\u003e44500/tcp   seven_eleven_db\n\n# Copiar el ID del contenedor, en este caso es dd4c6e90778c , este ID varia segun la instancia de\n# Docker y cambia siempre que levantemos un contendor.\n\n# Acceder al contendor usando docker exec\ndocker exec -it \u003cel ID que copiamos\u003e /bin/bash\n\n# Esperar una respuesta similar a esta:\nroot@dd4c6e90778c:/#\n\n# Acceder a instancia de MySQL\nmysql -u root -p\n\n# Ahora nos preguntara la password, colocar admin y luego presionar ENTER\nEnter password: admin\n\n# NOTA: Al escribir la contrasena no se mostrara ningun texto debido a que se oculta la misma\n# por razones de seguridad\n```\n\nFinalmente veremos un output como el siguiente:\n```bash\n# Welcome to the MySQL monitor.  Commands end with ; or \\g.\n# Your MySQL connection id is 9\n# Server version: 8.0.16 MySQL Community Server - GPL\n\n# Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.\n\n# Oracle is a registered trademark of Oracle Corporation and/or its\n# affiliates. Other names may be trademarks of their respective\n# owners.\n\n# Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n\n# mysql\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudyresearchprojects%2Fdb-mysql-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstudyresearchprojects%2Fdb-mysql-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudyresearchprojects%2Fdb-mysql-docker/lists"}