{"id":17456692,"url":"https://github.com/martinthoma/flask_mysql_dockerized","last_synced_at":"2025-04-12T05:08:53.318Z","repository":{"id":138045821,"uuid":"97964388","full_name":"MartinThoma/flask_mysql_dockerized","owner":"MartinThoma","description":"A minimal example of a dockerized Flask App which uses MySQL.","archived":false,"fork":false,"pushed_at":"2017-07-24T20:43:23.000Z","size":8,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T00:36:13.378Z","etag":null,"topics":["docker","docker-compose","flask","mysql","sqlalchemy"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"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/MartinThoma.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":"2017-07-21T15:51:55.000Z","updated_at":"2023-12-01T13:30:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1b984f7-7550-4c89-92d1-f729e4366398","html_url":"https://github.com/MartinThoma/flask_mysql_dockerized","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/MartinThoma%2Fflask_mysql_dockerized","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fflask_mysql_dockerized/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fflask_mysql_dockerized/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fflask_mysql_dockerized/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MartinThoma","download_url":"https://codeload.github.com/MartinThoma/flask_mysql_dockerized/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248519545,"owners_count":21117761,"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":["docker","docker-compose","flask","mysql","sqlalchemy"],"created_at":"2024-10-18T02:49:37.106Z","updated_at":"2025-04-12T05:08:53.289Z","avatar_url":"https://github.com/MartinThoma.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flask_mysql_dockerized\nA minimal example of a dockerized Flask App which uses MySQL.\n\n\n# Compose web service\n\nsudo docker-compose up --build\n\nThe `--build` makes sure that the image is re-built when you change something\nin the compose script.\n\n# TODO\n\n* Initialize Database\n* Fix error:\n\n```\nweb_1  |   File \"/usr/local/lib/python2.7/dist-packages/mysql/connector/connection.py\", line 395, in _handle_result\nweb_1  |     raise errors.get_exception(packet)\nweb_1  | sqlalchemy.exc.ProgrammingError: (mysql.connector.errors.ProgrammingError) 1146 (42S02): Table 'performance_schema.session_variables' doesn't exist [SQL: \"SHOW VARIABLES LIKE 'sql_mode'\"]\ndb_1   | 2017-07-21T22:22:17.002582Z 3 [Note] Aborted connection 3 to db: 'flask_db' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinthoma%2Fflask_mysql_dockerized","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinthoma%2Fflask_mysql_dockerized","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinthoma%2Fflask_mysql_dockerized/lists"}