{"id":20490709,"url":"https://github.com/osoco/puppet-mysql","last_synced_at":"2026-04-16T16:04:29.720Z","repository":{"id":140853038,"uuid":"4271165","full_name":"osoco/puppet-mysql","owner":"osoco","description":"Puppet module to manage mysql","archived":false,"fork":false,"pushed_at":"2013-01-04T17:27:44.000Z","size":141,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T05:25:58.975Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Puppet","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/osoco.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}},"created_at":"2012-05-09T11:57:42.000Z","updated_at":"2013-12-28T15:19:38.000Z","dependencies_parsed_at":"2023-03-12T00:21:10.324Z","dependency_job_id":null,"html_url":"https://github.com/osoco/puppet-mysql","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/osoco%2Fpuppet-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osoco%2Fpuppet-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osoco%2Fpuppet-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osoco%2Fpuppet-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osoco","download_url":"https://codeload.github.com/osoco/puppet-mysql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242068532,"owners_count":20066910,"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-11-15T17:18:10.234Z","updated_at":"2026-04-16T16:04:29.688Z","avatar_url":"https://github.com/osoco.png","language":"Puppet","funding_links":[],"categories":[],"sub_categories":[],"readme":"puppet-mysql\n============\n\nPuppet module to manage MySQL databases. Usually, mysql modules are complex and with lots of depencies. \nThis module aims exactly the opposite. Yet less powerful, is small and simple to use. It can:\n\n* Install mysql server with a parametrized root password\n* Define a mysql service\n* Create mysql databases\n* Create mysql users with given grants\n\nHas been tested on debian squeeze.\n\nUsage\n-----\n\nExample of usage for create a database with name 'oneDatabase' with full-privileged user 'oneUser' and \na readonly user 'oneReadOnlyUser', and another database with name 'anotherDatabase' with full-privileged user 'oneUser'.\n\n\tclass some_machine_mysql {\n\t\n\t    mysql::database { 'oneDatabase': }\n\t    mysql::database { 'anotherDatabase': }\n\t\n\t    mysql::user { 'oneDatabase-oneUser-user':\n\t        user =\u003e 'oneUser',\n\t        password =\u003e 'oneUserPassword',\n\t        database =\u003e 'oneDatabase',\n\t    }\n\t\n\t    mysql::user { 'oneDatabase-oneReadOnlyUser-user':\n\t        user =\u003e 'oneReadOnlyUser',\n\t        password =\u003e 'oneReadOnlyUserPassword',\n\t        database =\u003e 'oneDatabase',\n\t        host =\u003e '%',\n\t        privileges =\u003e 'SELECT'\n\t    }\n\t\n\t    mysql::user { 'anotherDatabase-oneUser-user':\n\t        user =\u003e 'oneUser',\n\t        password =\u003e 'oneUserPassword',\n        \tdatabase =\u003e 'anotherDatabase',\n\t    }\n\t\n\t}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosoco%2Fpuppet-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosoco%2Fpuppet-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosoco%2Fpuppet-mysql/lists"}