Re: INFORMATION_SCHEMA.* privileges
Your concern is valid. MySQL does not have a general metadata-only privilege that allows a user to see the structure of every database/table while having no access to the underlying objects.
INFORMATION_SCHEMA applies the same privilege model, so an account generally needs some privilege on an object for its metadata to be visible. SELECT is one way to achieve this, but it also gives the account the ability to read the table data.
For a cataloging tool, I would avoid granting SELECT globally just for metadata discovery. A safer approach is to grant only the minimum privileges on the specific schemas/tables that OpenMetadata needs, or use a separate metadata collection mechanism if OpenMetadata supports one for your setup.
For example, you can scope access to a database rather than the entire server:
GRANT SELECT ON 'database_name'.* TO 'openmetadata'@'%';
This still permits reading the data in that database, so it is worth checking exactly what metadata OpenMetadata requires before granting it. MySQL's privilege model does not provide a simple GRANT METADATA equivalent.
Please let me know if this has helped you.
Herrick P, DevOps Engineer @accuweb.cloud
Subject
Written By
Posted
Re: INFORMATION_SCHEMA.* privileges
October 02, 2026 02:44AM
Sorry, only registered users may post in this forum.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.