mysqldude
Error codes › 4027

MySQL & MariaDB error 4027 ER_ROLE_GRANTED_TO_ITSELF

Same number, two different errors. 4027 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLUser account … is directly or indirectly granted to the role …. The GRANT would create a loop
MariaDBGot an error evaluating stored expression …
MySQLMariaDB
SymbolER_ROLE_GRANTED_TO_ITSELFER_ERROR_EVALUATING_EXPRESSION
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 8.0.26 activesince 10.2.44 active