The user specified as a definer (‘mysql.infoschema‘@‘localhost‘) does not exist

连接上报无法刷新浏览器

use mysql;
show tables;
ERROR 1449 (HY000): The user specified as a definer ('mysql.infoschema'@'localhost') does not exist

select user,host from user;
The user specified as a definer (‘mysql.infoschema‘@‘localhost‘) does not exist_第1张图片
删除
drop user ‘mysql.infoschema’@‘127.0.0.1’;

The user specified as a definer (‘mysql.infoschema‘@‘localhost‘) does not exist_第2张图片
重现创建
create user ‘mysql.infoschema’@‘localhost’ identified by ‘root’;
The user specified as a definer (‘mysql.infoschema‘@‘localhost‘) does not exist_第3张图片
这下可以连接了

你可能感兴趣的:(mysql,数据库)