Watchlog DocsWatchlog Docs
Home
Get Started
Integrations
Log Watchlist
Home
Get Started
Integrations
Log Watchlist
  • All Integrations
  • NGINX

    • Nginx Integration
    • Ubuntu
    • Docker
    • Windows
    • Kubernetes
    • Source Code
  • IIS

    • IIS Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • REDIS

    • Redis Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • POSTGRESQL

    • PostgreSQL Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • MONGODB

    • MongoDB Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • MYSQL

    • MySQL Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • PM2

    • PM2 Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • DOCKER

    • Docker Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code

Kubernetes

In your watchlog-node-agent.yaml, locate the MySQL env vars:

      - name: MONITOR_MYSQL
        value: "false"
      - name: MYSQL_HOST
        value: "127.0.0.1"
      - name: MYSQL_PORT
        value: "3306"
      - name: MYSQL_USERNAME
        value: "root"
      - name: MYSQL_PASSWORD
        value: ""
      - name: MYSQL_DATABASES
        value: ""

Change MONITOR_MYSQL to "true" and set MYSQL_DATABASES to a comma-separated list of databases, e.g.:

-       value: "false"
+       value: "true"
-      - name: MYSQL_DATABASES
-        value: ""
+      - name: MYSQL_DATABASES
+        value: "db1,db2"

Then apply:

kubectl apply -f watchlog-node-agent.yaml
Last Updated:: 8/8/25, 2:02 AM
Contributors: mohammad
Prev
Windows
Next
Source Code