获得 information_schema mysql 的权限 [英] get privileges on information_schema mysql

查看:74
本文介绍了获得 information_schema mysql 的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我打开 MySQL Administrator 并尝试从数据库 information_schema 的表 events 中删除一个事件,我会收到此错误:

If I open MySQL Administrator and I try to delete one event from the table events of the database information_schema I get this error:

Access denied for user 'root'@'localhost' to database 'information_schema'

我需要什么权限?

推荐答案

information_schema 表都是只读的,无法删除任何行.

The information_schema tables are all read only, there is no way to delete any rows there.

要删除事件,请使用 DROP EVENT 语句.

To drop an event, use the DROP EVENT statement.

这篇关于获得 information_schema mysql 的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆