top of page
CerebroSQL

MySQL: 

ROLES_GRAPHML

ROLES_GRAPHML()

Returns a utf8 string containing a GraphML document representing memory
role subgraphs. The ROLE_ADMIN privilege (or the deprecated SUPER
privilege) is required to see content in the <graphml> element.
Otherwise, the result shows only an empty element:

mysql> SELECT ROLES_GRAPHML();
+---------------------------------------------------+
| ROLES_GRAPHML() |
+---------------------------------------------------+
| <?xml version="1.0" encoding="UTF-8"?><graphml /> |
+---------------------------------------------------+

URL: https://dev.mysql.com/doc/refman/8.0/en/information-functions.html

Example

bottom of page