标题: root 怎么什么权限也没了 [打印本页] 作者: lx_mz 时间: 2008-12-19 14:58 标题: root 怎么什么权限也没了 linux下用 mysql,修改root密码:mysqladmin -u root password 1234; 出现提示: can't turn off logging; error: 'Access Denied; you need the super privilege for this operation.' 这是怎么回事啊?
用mysql -u root 直接进入mysql,mysql>use mysql; 出现 ERROR1004: Access Denied for user ' ' @'localhost' to database 'mysql'
用root登的,为什么会出现这种情况呢??不解:em11:作者: vermouth 时间: 2008-12-22 13:13
mysqladmin 不是谁想用就能用的啊~ 后面不是提示要有 the super privilege for this operation
用 mysql -uroot -p 访问,以确定登录正确。
还不行就只能用 --skip-grant 启动进行修改了~ 祝你好运!作者: lx_mz 时间: 2008-12-24 10:11 标题: 回复 #2 vermouth 的帖子 谢谢 :wink: :wink:作者: yueliangdao0608 时间: 2008-12-24 19:53
那是因为你用的匿名用户。不是root。