Skip to content

mysql_grant fails with UTF-8 error #1586

Open
@tuxmaster5000

Description

@tuxmaster5000

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions