重装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;
相关文章推荐
- mysql存储过程
- MySQL主库删除binlog
- mysql主从切换步骤
- mysql主从复制
- mysql使用索引为什么查询速度变快很多?
- MySQL 5.6 (Win7 64位)下载、安装与配置图文教程
- mysql数据库中国地区表设计与数据插入
- mysql 主从搭建步骤
- mysql 时间格式化
- MySQL数据库学习笔记(五)----MySQL字符串函数、日期时间函数
- MySQL Table is read only的具体解决方案
- Mysql Update 语句语法
- 其它电脑访问mysql被拒绝
- mysql 忘记root密码(5.7.12版本)
- mysql的外键
- mysql数据的导入,导出
- MySQL 单表百万数据记录分页性能优化
- mysql 修改max_connections
- mysql的启动与连接
- MySQL优化之二--存储引擎