Grant MySQL Permissions

To enable Pulse to collect Hive and Oozie metadata stored in MySQL, you must grant the required permissions.

  1. Log in to MySQL as the root or an administrative user.
Bash
Copy
  1. Create the users (if they do not already exist):
Bash
Copy
  1. Grant read-only (SELECT) privileges (replace placeholders with actual values):
Bash
Copy

The commands vary depending on the MySQL version.

  • hive_database / oozie_database: Names of the Hive and Oozie metadata databases.
  • hive_user / oozie_user: Usernames Pulse uses to access these databases.
  • Pulse_host: Hostname or IP address of the Pulse server. Use % to allow access from any host.
  • Password: Password assigned to the database user.
  1. Apply changes.
Bash
Copy

Example:

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard