300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > mysql :The user specified ... does not exist 报错

mysql :The user specified ... does not exist 报错

时间:2022-03-02 17:42:58

相关推荐

mysql :The user specified ... does not exist 报错

独角兽企业重金招聘Python工程师标准>>>

程序在调用到数据库的视图时报错,直接在数据库中打开视图时也报错,类似:

mysql1449 : The user specified as a definer ('montor'@'%') does not exist

经查,是权限问题,解决办法:

运行:grant all privileges on *.* to monitor@"%" identified by ".";

之后打开视图时便不会报错,程序调用也不会报错。

权限问题,授权 给 root ?所有sql 权限

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

Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;

Query OK, 0 rows affected (0.00 sec)

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。