mysql.roles_mapping Table

System tables should not normally be edited directly. Use the related SQL statements instead.

The mysql.roles_mapping table contains information about mariaDB roles.

This table uses the Aria storage engine.

The mysql.roles_mapping table contains the following fields:

FieldTypeNullKeyDefaultDescription
Hostchar(60)NOPRIHost (together with User and Role makes up the unique identifier for this record.
Userchar(80)NOPRIUser (together with Host and Role makes up the unique identifier for this record.
Rolechar(80)NOPRIRole (together with Host and User makes up the unique identifier for this record.
Admin_optionenum('N','Y')NONWhether the role can be granted (see the CREATE ROLE WITH ADMIN clause).

The Acl_role_grants status variable indicates how many rows the mysql.roles_mapping table contains.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.
Back to Top