Skip to content
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

mysql_grant fails with UTF-8 error #1586

Open
tuxmaster5000 opened this issue Jul 14, 2023 · 0 comments
Open

mysql_grant fails with UTF-8 error #1586

tuxmaster5000 opened this issue Jul 14, 2023 · 0 comments

Comments

@tuxmaster5000
Copy link

Describe the Bug

This simple code will fails.

mysql_grant { "${name}@${host}/${database}.${table}":
    user       => "${name}@${host}",
    privileges => $rights,
    table      => "${database}.${table}"
  }

Expected Behavior

Working code

Steps to Reproduce

Run the code above

Environment

  • Version: MariaDB 10.11.4, module 15.0.0
  • Platform: Rocky 9.2

Additional Context

Error message:

Error: Could not prefetch mysql_grant provider 'mysql': invalid byte sequence in UTF-8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants