mysql the user specified_【MySQL】MySQL error 1449:The user specified as a definer ('skip-grants user'...

The user specified as a definer ('skip-grants user'@'skip-grants host') does not exist

被指定为 definer 的用户('skip-grants user'@'skip-grants host') 不存在

https://stackoverflow.com/questions/10169960/mysql-error-1449-the-user-specified-as-a-definer-does-not-exist

MySQL : "The user specified as a definer ('root'@'%') does not exist"

http://www.lynnnayko.com/2010/07/mysql-user-specified-as-definer-root.html

MySQL 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法

https://www.cnblogs.com/Magicam/archive/2013/07/22/3207382.html

########################################################################

mysql> grant all privileges on *.* to root@"lcoalhost" identified by "XXX" with grant option;

mysql> grant all privileges on *.* to root@"127.0.0.1" identified by "XXX" with grant option;

mysql> grant all privileges on *.* to root@"%" identified by "XXX" with grant option;

mysql> flush privileges;

mysql> grant all on *.* to 'USER_NAME'@'%' identified by 'XXX with grant option;

mysql> FLUSH PRIVILEGES;

##########################################################################

https://www.cnblogs.com/zejin2008/p/4767531.html

https://dba.stackexchange.com/questions/107536/the-user-specified-as-a-definer-root-does-not-exist

MySQL视图定义者和安全性definer/invoker的一次踩坑经历

https://pdf.us/2018/02/24/679.html

Modify DEFINER on Many Views

https://dba.stackexchange.com/questions/4129/modify-definer-on-many-views

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
这个错误是由于MySQL数据库中的用户定义者(definer)不存在导致的。用户定义者指的是在创建或修改存储过程、触发器等对象时指定的用户。根据引用和引用,解决这个错误的方法是创建一个名为'mysql.infoschema'的用户,并授予对所有数据库的所有权限。具体的操作步骤如下: 1. 在MySQL中执行以下命令创建用户: CREATE USER 'mysql.infoschema'@'localhost' IDENTIFIED BY '123456'; 2. 授予该用户对所有数据库的所有权限: GRANT ALL PRIVILEGES ON *.* TO 'mysql.infoschema'@'localhost'; 3. 刷新权限以使更改生效: FLUSH PRIVILEGES; 如果你在远程连接数据库时遇到"plugin caching_sha2_password could not be loaded"错误,你可以尝试通过修改密码加密插件来解决。执行以下命令: ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; 这样,你就创建了一个名为'mysql.infoschema'的用户,并为该用户授予了必要的权限,同时也解决了相关的报错信息。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [MYSQL 8.0.19 报The user specified as a definer (‘mysql.infoschema‘@‘localhost‘) does not exist](https://blog.csdn.net/caimo/article/details/109281497)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* [linux mysql8.0 ERROR 1449(HY000):- The user specified as a definer (‘mysql.infoschema‘@‘localhost...](https://blog.csdn.net/zhuiguhenman/article/details/125726214)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值