2

Is there any way to grant read-access on the information_schema-objects, in this case the views-table?

I want to run my web application with a very restricted user, but at some places he needs to query information_schema.views for debugging purposes. I guess only users with superusers rights will be allowed to do this, or is there any other way? Don't like to run my web app with maximum user grants...

4

1 回答 1

5

不需要GRANT权利。information_schema默认情况下,所有用户都可以从视图中读取。

于 2012-02-25T21:05:09.757 回答