创建PROCEDURE失败,给出提示信息 access denied for user 'root'@'%' to databese
2010-01-16 16:11
375 查看
在网上参考了一些资料,应该是权限不够,没有写存储过程的权限,
在MysqlFront中执行SQL语句:
select * from mysql.user where Host ='%' and user='root' ;
就是在mysql的用户表中查询使用root帐号登陆的所有主机信息(%是一个通配符)
从结果中检查 'create_ rountine_priv' , 'alter_ rountine_priv' 这2个字段的权限
如果是N,则将起改为Y,重启MysqlFront就可以了.注意:一定要重启,不然还是说你没权限
在MysqlFront中执行SQL语句:
select * from mysql.user where Host ='%' and user='root' ;
就是在mysql的用户表中查询使用root帐号登陆的所有主机信息(%是一个通配符)
从结果中检查 'create_ rountine_priv' , 'alter_ rountine_priv' 这2个字段的权限
如果是N,则将起改为Y,重启MysqlFront就可以了.注意:一定要重启,不然还是说你没权限
相关文章推荐
- [解决] Error Code: 1044. Access denied for user 'root'@'%' to database
- 1044-Access denied for user 'root'@'%' to database databaseTest 错误
- [mysql_error]: Access denied for user 'root'@'%' to database 'image' 错误解决
- windows mysql提示:1045 access denied for user'root'@'localhost' using password yes
- mysqldump执行时Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
- windows XP中,mysql连接时提示:1045 access denied for user 'root'@'localhost' using password yes 的解决方法
- Ubuntu上使用jsp去连接mysql的时候踢提示Access denied for user 'root'@'localhost' (using password: YES)的解决办法!!!
- MYSQL 提示:1045 access denied for user 'root'@'localhost' using password yes
- windows mysql提示:1045 access denied for user'root'@'localhost' using password yes
- Mysql登录提示1045 error:access denied for user 'root'@'localhost <using password: yes>
- 安装mysql 出现错误Unable to update security settings. Access denied for user 'root'@'localhost' 的解决
- MySQL提示:1045 access denied for user 'root'@'localhost' using password yes
- MySql 安装报错 :Last Error:Unable to update security. Access denied for user 'root'@'localhost'(using pa
- MySql 安装报错 :Last Error:Unable to update security. Access denied for user 'root'@'localhost'(using pa
- hive:Access denied for user 'root'@'%'
- Access denied for user 'root'@'192.168.12.249' to database 'zc_beauty'
- windows mysql提示:1045 access denied for user 'root'@'localhost' using password ye
- windows mysql提示:1045 access denied for user 'root'@'localhost' using password yes 解决方案
- mysql创建数据库后出现Access denied for user 'root'@'%' to database ‘xxxx’
- 登录MySQL时遇到问题Access denied for user 'root'@'localhost'解决