Skip to content

Clarify how to grant specific privileges with database_grant #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 21, 2012

Conversation

mcary
Copy link
Contributor

@mcary mcary commented Aug 21, 2012

When I tried to use database_grant, I assumed the privilege
names would match the SQL GRANT command, for example, SELECT
or CREATE TEMPORARY TABLES.  But in fact the privilege names
are taken from columns of the mysql.db table.  As a result,
a row was created in mysqld.db, but none of the privileges
I intended to grant were actually granted.

Someone else filed a ticket with the same issue:
http://projects.puppetlabs.com/issues/15808

Document that how to specify individual privileges in
README.md.

When I tried to use database_grant, I assumed the privilege 
names would match the SQL GRANT command, for example, SELECT
or CREATE TEMPORARY TABLES.  But in fact the privilege names
are taken from columns of the mysql.db table.  As a result,
a row was created in mysqld.db, but none of the privileges 
I intended to grant were actually granted.

Someone else filed a ticket with the same issue:
http://projects.puppetlabs.com/issues/15808

Document that how to specify individual privileges in
README.md.
bodepd added a commit that referenced this pull request Aug 21, 2012
Clarify how to grant specific privileges with database_grant
@bodepd bodepd merged commit 96bfbdf into puppetlabs:master Aug 21, 2012
pmcmaw added a commit to pmcmaw/puppetlabs-mysql that referenced this pull request Mar 3, 2021
…ds/master-0-g7827fc2

pdksync - pdksync_heads/master-0-g7827fc2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants