{"id":29195693,"url":"https://github.com/gptscript-ai/mysql","last_synced_at":"2025-07-02T05:05:33.241Z","repository":{"id":230259880,"uuid":"778917257","full_name":"gptscript-ai/mysql","owner":"gptscript-ai","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-06T21:45:11.000Z","size":194,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-08-07T00:59:53.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/gptscript-ai.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}},"created_at":"2024-03-28T17:00:00.000Z","updated_at":"2024-08-06T21:45:15.000Z","dependencies_parsed_at":"2024-03-28T18:29:12.973Z","dependency_job_id":"ffb7abb0-c85b-482c-ba64-42367c992729","html_url":"https://github.com/gptscript-ai/mysql","commit_stats":null,"previous_names":["gptscript-ai/mysql"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gptscript-ai/mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gptscript-ai%2Fmysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gptscript-ai%2Fmysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gptscript-ai%2Fmysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gptscript-ai%2Fmysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gptscript-ai","download_url":"https://codeload.github.com/gptscript-ai/mysql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gptscript-ai%2Fmysql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263077632,"owners_count":23410167,"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":"2025-07-02T05:05:32.249Z","updated_at":"2025-07-02T05:05:33.226Z","avatar_url":"https://github.com/gptscript-ai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MYSQL Query\n\nSince this example requires the ability to access a mysql database with loaded data, this document serves as a guide in how to set up a given environment so that the example can be run as provided.\n\n## Prerequisites\n\n- Python 3.x\n- OpenAI API Key\n- Access information to a MYSQL database\n\n## Setting Environment Variables\n\n| variable  | example value        |\n| --------- | -------------------- |\n| `DB_USER` | `root`               |\n| `DB_PASS` | `your_root_password` |\n| `DB_HOST` | `127.0.0.1`          |\n| `DB_PORT` | `3306`               |\n| `DB_NAME` | `employees`          |\n\n## Examples\n\nExamples of tool usage can be seen in the examples directory. The simple overview of the strucutre is the inclusion of the tool, and then providing the prompt to be answered.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgptscript-ai%2Fmysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgptscript-ai%2Fmysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgptscript-ai%2Fmysql/lists"}