Prepare to run the MySQL collector
task australia Updated Sep 10, 2026 1 min read prepare-to-run-mysql-collector.md
Create a MySQL user and grant permissions before running the collector.
Before you begin
Role required: admin
About this task
Configure a MySQL user with the minimum required permissions for metadata harvesting.
Procedure
-
Create a user.
TextCREATE USER 'catalog_user'@'%' IDENTIFIED BY '<password>';Replace
<password>with a secure password. -
Grant permissions to the user.
SQLGRANT SELECT, SHOW VIEW, EXECUTE ON *.* TO 'catalog_user'@'%';This grants the following permissions:
- SELECT: Read access to tables and views
- SHOW VIEW: View definition access
- EXECUTE: Stored procedure and function access
Parent Topic:MySQL metadata collector
49 lines · 1.4 KB
---
title: Prepare to run the MySQL collector
description: Create a MySQL user and grant permissions before running the collector.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/integrate-applications/prepare-to-run-mysql-collector.html
release: australia
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [MySQL metadata collector, Configuring metadata collectors, Data Catalog, Workflow Data Fabric]
---
# Prepare to run the MySQL collector
Create a MySQL user and grant permissions before running the collector.
## Before you begin
Role required: admin
## About this task
Configure a MySQL user with the minimum required permissions for metadata harvesting.
## Procedure
1. Create a user.
```
CREATE USER 'catalog_user'@'%' IDENTIFIED BY '<password>';
```
Replace `<password>` with a secure password.
2. Grant permissions to the user.
```
GRANT SELECT, SHOW VIEW, EXECUTE ON *.* TO 'catalog_user'@'%';
```
This grants the following permissions:
- SELECT: Read access to tables and views
- SHOW VIEW: View definition access
- EXECUTE: Stored procedure and function access
**Parent Topic:**[MySQL metadata collector](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/mysql-metadata-collector.md)
| title | Prepare to run the MySQL collector |
| description | Create a MySQL user and grant permissions before running the collector. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/integrate-applications/prepare-to-run-mysql-collector.html |
| release | australia |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | MySQL metadata collectorConfiguring metadata collectorsData CatalogWorkflow Data Fabric |