我的编程空间,编程开发者的网络收藏夹
学习永远不晚

MySQL Error number: 3836; Symbol: ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS; SQLSTATE: HY000

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

MySQL Error number: 3836; Symbol: ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS; SQLSTATE: HY000

文档解释

Error number: 3836; Symbol: ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS; SQLSTATE: HY000

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

错误说明

ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS,是MySQL数据库管理系统中的一条错误消息,消息编号为3836。这条错误消息指示,在授权给某个特定用户时,MySQL无法识别该用户或它没有相关的权限。

常见案例

一般情况下,这条错误消息指示MySQL系统无法识别键入的用户名,或者当前用户没有授权该用户的权限,例如:

例1:在MySQL控制台中使用 grant 命令向其他用户授权时,由于之前删除或修改了用户名,导致MySQL没有识别当前用户名,报出 ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS 错误。

例2:当管理者在某些系统账户下准备赋予特定权限,但系统提示当前用户没有访问该账户的权限时,也可能会产生 ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS 错误消息。

解决方法

(1)首先,应该确保具有 grant 权限的账户在进行 grant 操作前被正确创建,以防产生 ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS 错误。

(2)其次,如果发现已经被删除或者修改用户名,可以使用“revoke”命令将不正确的授权取消,然后重新授权该用户;

(3)最后,如果当前用户没有访问特定账户的权限,提高当前用户的权限或更换具有访问权限的账户,即可解决 ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS 错误。

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

MySQL Error number: 3836; Symbol: ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS; SQLSTATE: HY000

下载Word文档到电脑,方便收藏和打印~

下载Word文档

猜你喜欢

MySQL Error number: 3836; Symbol: ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS; SQLSTATE: HY000

文档解释Error number: 3836; Symbol: ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS; SQLSTATE: HY000Message: Either some of
MySQL Error number: 3836; Symbol: ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS; SQLSTATE: HY000
2023-11-05

MySQL Error number: 4144; Symbol: ER_BULK_PARSER_ROW_BUFFER_MAX_TOTAL_COLS_EXCEEDED; SQLSTATE: HY000

文档解释Error number: 4144; Symbol: ER_BULK_PARSER_ROW_BUFFER_MAX_TOTAL_COLS_EXCEEDED; SQLSTATE: HY000Message: The number
MySQL Error number: 4144; Symbol: ER_BULK_PARSER_ROW_BUFFER_MAX_TOTAL_COLS_EXCEEDED; SQLSTATE: HY000
2023-11-05

MySQL Error number: 4149; Symbol: ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_NULL_ESCAPE; SQLSTATE: HY000

文档解释Error number: 4149; Symbol: ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_NULL_ESCAPE; SQLSTATE: HY000Message: Unexpected
MySQL Error number: 4149; Symbol: ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_NULL_ESCAPE; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3977; Symbol: ER_STATEMENT_NOT_ALLOWED_AFTER_START_TRANSACTION; SQLSTATE: HY000

文档解释Error number: 3977; Symbol: ER_STATEMENT_NOT_ALLOWED_AFTER_START_TRANSACTION; SQLSTATE: HY000Message: Only BINLOG
MySQL Error number: 3977; Symbol: ER_STATEMENT_NOT_ALLOWED_AFTER_START_TRANSACTION; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3921; Symbol: ER_CHANGE_MASTER_WRONG_COMPRESSION_LEVEL_CLIENT; SQLSTATE: HY000

文档解释Error number: 3921; Symbol: ER_CHANGE_MASTER_WRONG_COMPRESSION_LEVEL_CLIENT; SQLSTATE: HY000Message: Invalid
MySQL Error number: 3921; Symbol: ER_CHANGE_MASTER_WRONG_COMPRESSION_LEVEL_CLIENT; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3992; Symbol: ER_DISABLE_GTID_MODE_REQUIRES_ASYNC_RECONNECT_OFF; SQLSTATE: HY000

文档解释Error number: 3992; Symbol: ER_DISABLE_GTID_MODE_REQUIRES_ASYNC_RECONNECT_OFF; SQLSTATE: HY000Message: The
MySQL Error number: 3992; Symbol: ER_DISABLE_GTID_MODE_REQUIRES_ASYNC_RECONNECT_OFF; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3805; Symbol: ER_RPL_ENCRYPTION_CANNOT_ROTATE_BINLOG_MASTER_KEY; SQLSTATE: HY000

文档解释Error number: 3805; Symbol: ER_RPL_ENCRYPTION_CANNOT_ROTATE_BINLOG_MASTER_KEY; SQLSTATE: HY000Message: Cannot
MySQL Error number: 3805; Symbol: ER_RPL_ENCRYPTION_CANNOT_ROTATE_BINLOG_MASTER_KEY; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3894; Symbol: ER_PASSWORD_CANNOT_BE_RETAINED_ON_PLUGIN_CHANGE; SQLSTATE: HY000

文档解释Error number: 3894; Symbol: ER_PASSWORD_CANNOT_BE_RETAINED_ON_PLUGIN_CHANGE; SQLSTATE: HY000Message: Current
MySQL Error number: 3894; Symbol: ER_PASSWORD_CANNOT_BE_RETAINED_ON_PLUGIN_CHANGE; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3040; Symbol: ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION; SQLSTATE: HY000

文档解释Error number: 3040; Symbol: ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION; SQLSTATE: HY000Message: Geometry
MySQL Error number: 3040; Symbol: ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3818; Symbol: ER_CHECK_CONSTRAINT_REFERS_AUTO_INCREMENT_COLUMN; SQLSTATE: HY000

文档解释Error number: 3818; Symbol: ER_CHECK_CONSTRAINT_REFERS_AUTO_INCREMENT_COLUMN; SQLSTATE: HY000Message: Check
MySQL Error number: 3818; Symbol: ER_CHECK_CONSTRAINT_REFERS_AUTO_INCREMENT_COLUMN; SQLSTATE: HY000
2023-11-05

MySQL Error number: 4140; Symbol: ER_BULK_LOADER_COLUMN_TOO_BIG_FOR_LEFTOVER_BUFFER; SQLSTATE: HY000

文档解释Error number: 4140; Symbol: ER_BULK_LOADER_COLUMN_TOO_BIG_FOR_LEFTOVER_BUFFER; SQLSTATE: HY000Message: CSV column
MySQL Error number: 4140; Symbol: ER_BULK_LOADER_COLUMN_TOO_BIG_FOR_LEFTOVER_BUFFER; SQLSTATE: HY000
2023-11-05

MySQL Error number: 4117; Symbol: ER_CLIENT_FILE_PRIVILEGE_FOR_REPLICATION_CHECKS; SQLSTATE: HY000

文档解释Error number: 4117; Symbol: ER_CLIENT_FILE_PRIVILEGE_FOR_REPLICATION_CHECKS; SQLSTATE: HY000Message: The
MySQL Error number: 4117; Symbol: ER_CLIENT_FILE_PRIVILEGE_FOR_REPLICATION_CHECKS; SQLSTATE: HY000
2023-11-05

MySQL Error number: 4115; Symbol: ER_COMMAND_BACKEND_FAILED_TO_FETCH_SECURITY_CTX; SQLSTATE: HY000

文档解释Error number: 4115; Symbol: ER_COMMAND_BACKEND_FAILED_TO_FETCH_SECURITY_CTX; SQLSTATE: HY000Message: Error when
MySQL Error number: 4115; Symbol: ER_COMMAND_BACKEND_FAILED_TO_FETCH_SECURITY_CTX; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3808; Symbol: ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_ROTATE_LOGS; SQLSTATE: HY000

文档解释Error number: 3808; Symbol: ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_ROTATE_LOGS; SQLSTATE: HY000Message: Failed to
MySQL Error number: 3808; Symbol: ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_ROTATE_LOGS; SQLSTATE: HY000
2023-11-05

MySQL Error number: 4157; Symbol: ER_INNODB_INSTANT_ADD_DROP_NOT_SUPPORTED_MAX_SIZE; SQLSTATE: HY000

文档解释Error number: 4157; Symbol: ER_INNODB_INSTANT_ADD_DROP_NOT_SUPPORTED_MAX_SIZE; SQLSTATE: HY000Message: Column cant
MySQL Error number: 4157; Symbol: ER_INNODB_INSTANT_ADD_DROP_NOT_SUPPORTED_MAX_SIZE; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3683; Symbol: ER_BINLOG_EXPIRE_LOG_DAYS_AND_SECS_USED_TOGETHER; SQLSTATE: HY000

文档解释Error number: 3683; Symbol: ER_BINLOG_EXPIRE_LOG_DAYS_AND_SECS_USED_TOGETHER; SQLSTATE: HY000Message: The option
MySQL Error number: 3683; Symbol: ER_BINLOG_EXPIRE_LOG_DAYS_AND_SECS_USED_TOGETHER; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3806; Symbol: ER_BINLOG_MASTER_KEY_RECOVERY_OUT_OF_COMBINATION; SQLSTATE: HY000

文档解释Error number: 3806; Symbol: ER_BINLOG_MASTER_KEY_RECOVERY_OUT_OF_COMBINATION; SQLSTATE: HY000Message: Unable to
MySQL Error number: 3806; Symbol: ER_BINLOG_MASTER_KEY_RECOVERY_OUT_OF_COMBINATION; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3814; Symbol: ER_CHECK_CONSTRAINT_NAMED_FUNCTION_IS_NOT_ALLOWED; SQLSTATE: HY000

文档解释Error number: 3814; Symbol: ER_CHECK_CONSTRAINT_NAMED_FUNCTION_IS_NOT_ALLOWED; SQLSTATE: HY000Message: An
MySQL Error number: 3814; Symbol: ER_CHECK_CONSTRAINT_NAMED_FUNCTION_IS_NOT_ALLOWED; SQLSTATE: HY000
2023-11-05

MySQL Error number: 3095; Symbol: ER_GROUP_REPLICATION_STOP_APPLIER_THREAD_TIMEOUT; SQLSTATE: HY000

文档解释Error number: 3095; Symbol: ER_GROUP_REPLICATION_STOP_APPLIER_THREAD_TIMEOUT; SQLSTATE: HY000Message: The STOP
MySQL Error number: 3095; Symbol: ER_GROUP_REPLICATION_STOP_APPLIER_THREAD_TIMEOUT; SQLSTATE: HY000
2023-11-05

MySQL Error number: 4090; Symbol: ER_CANT_EXECUTE_COMMAND_WITH_ASSIGNED_GTID_NEXT; SQLSTATE: HY000

文档解释Error number: 4090; Symbol: ER_CANT_EXECUTE_COMMAND_WITH_ASSIGNED_GTID_NEXT; SQLSTATE: HY000Message: Cant execute
MySQL Error number: 4090; Symbol: ER_CANT_EXECUTE_COMMAND_WITH_ASSIGNED_GTID_NEXT; SQLSTATE: HY000
2023-11-05

编程热搜

目录