您的位置:首页 > 数据库 > MySQL

重装MySQL在start service卡死以及The user specified as a definer (''admin@'%') does not exist 问题

2016-07-25 15:01 721 查看

重装MySQL在start service卡死以及The user specified as a definer (”admin@’%’) does not exist 问题

重装mysql卡死一般都是卸载不干净导致的,卸载后删除安装目录的文件夹啊,然后打开注册表,ctrl+f查询mysql,删除所有的相关项,然后还有最关键的一步,一般在C盘,ProgramData文件夹里面有,mysql的data信息,一定要删除

报错问题:是因为权限的问题

新建用户

GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' IDENTIFIED BY 'admin' WITH GRANT OPTION;


设置权限

grant all privileges on *.* to admin@”%” identified by “.”;


刷新权限相关表

flush privileges;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: