Error codes › MY-013402
MySQL error MY-013402 OBSOLETE_ER_CANNOT_GRANT_ROLES_TO_ANONYMOUS_USER
| Symbol | OBSOLETE_ER_CANNOT_GRANT_ROLES_TO_ANONYMOUS_USER |
|---|---|
| SQLSTATE | HY000 |
| Type | Server error-log message |
| Versions | since 8.0.16; now an unused placeholder (since 8.0.20) obsolete |
How the message changed between versions
| MySQL from | Symbol | Message |
|---|---|---|
| 8.0.16 | ER_CANNOT_GRANT_ROLES_TO_ANONYMOUS_USER | Cannot grant roles to an anonymous user. |
| 8.0.20 | OBSOLETE_ER_CANNOT_GRANT_ROLES_TO_ANONYMOUS_USER | Cannot grant roles to an anonymous user. |
Messages numbered MY-010000 and up are written to the MySQL server error log (MySQL 8.0 and later); they are not returned to clients.