MySQL Error 3836 – ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS

MySQL Error Message

Either some of the authorization IDs in the AS clause are
invalid or the current user lacks privileges to execute the
statement.

Reason for the Error

ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS
was added in 8.0.16.