无法在MySQL中设置权限

时间:2014-05-08 02:36:33

标签: php mysql privileges

我试过了:

SET GLOBAL EVENT_SCHEDULER = ON
MySQL said: Documentation
#1227 - Access denied; you need the SUPER privilege for this operation 

这是我的第二次尝试:

GRANT SUPER ON *.* TO user@'localhost' IDENTIFIED BY 'password'
MySQL said: Documentation

#1045 - Access denied for user '*********'@'localhost' (using password: YES) 

我再试一次:

UPDATE `USER_PRIVILEGES` SET `PRIVILEGE_TYPE`='ALL',`IS_GRANTABLE`='YES' WHERE 1
in the information schema user privileges
MySQL said: Documentation

#1044 - Access denied for user 'infografix'@'localhost' to database 'information_schema' 

有人请帮助我。我尝试了一切对我没用的东西。

1 个答案:

答案 0 :(得分:0)

这不是phpMyAdmin问题,而是MySQL版权所有。特权问题。您需要以能够通过GRANT授予权限的用户身份登录MySQL,以运行您成功运行的命令。