Skip to content

Instantly share code, notes, and snippets.

View xhava's full-sized avatar

Chrystopher Medina xhava

View GitHub Profile
init_config:
instances:
# NOTE: Even if the server name is "localhost", the agent will connect to MySQL using TCP/IP, unless you also
# provide a value for the sock key (below).
- server: localhost
user: my_username
pass: my_password
# port: 3306 # Optional
# sock: /path/to/sock # Connect via Unix Socket